The server should be accessible directly from the host on which it is running (localhost); for example, using the default port 8080:
A server instance running on localhost might not be accessible if the server host machine is connected to the web through a proxy. To solve this problem, do one of the following:
Set the browser to bypass the proxy server when accessing localhost. Refer to the browser's help system for information about how to do this.
Use the fully-qualified host name or IP address of your system; for example:
Create an entry in the system's hosts file (for example, pointing 127.0.0.1 to localhost; 127.0.0.1 is not proxied).