Invalid request trying to open server

Fixed it. Turns out I was using port 32400 in uTorrent which was causing this issue. To all others who have a similar problem, just check if port 32400 is not being used by any other program.

Link to solution.