HTTP Error 400. The request hostname is invalid

We’ve tested out Manager for a few days, and we absolutely love it. I want to upgrade from the Desktop Edition to the Server Edition, but I’m having trouble. I’ve extracted Manager version 14.1.9 onto my Windows 7 x64 SP1 machine.

  • can access the site by going to http://localhost:[port]
  • cannot access the site by going to http://127.0.0.1:[port]
  • cannot access the site by going to http://[hostname]:[port] where [hostname] is the server’s hostname as reported by the ‘hostname’ command
  • cannot access the site by going to http://[interal ip]:[port] where [internal ip] is the 192.168.x.x address assigned to the server

The error I get when trying the latter three is “HTTP Error 400. The request hostname is invalid.” I’ve tested further by trying to connect directly to the server via telnet. It appears that sending any HTTP ‘Host’ header other than ‘localhost’ results in error 400.

This is a particular problem since it means I cannot access the server from any other machine on the network (as they won’t ever refer to the server as ‘localhost’).

Let me know if there is any other helpful information I can provide.

Can you try running ManagerServer.exe as Administrator? Manager is using http.sys and Windows has this weird security feature where non-Administrator accounts are limited to incoming connections on localhost only.

Running ManagerServer.exe as Administrator fixed the problem. Thank you!

Check your firewall fro port passthrough when trying to access from other computers.
I have mine setup by hosting a WEBSERVER on my own computer using Apache 2.2 and a Dynamic DNS which works like a charm.
Let me know if I can help with configuration if you decide on hosting this way.