IIS doesn't respond to 127.0.0.1 (external IP works fine)

Posted by Jordan on Server Fault See other posts from Server Fault or by Jordan
Published on 2011-06-27T15:39:13Z Indexed on 2011/06/27 16:25 UTC
Read the original article Hit count: 197

Filed under:
|
|
|

I have an AWS web server - call it box.company.com. It's running IIS and if I visit http://box.company.com in a web browser (from any machine, including box.company.com), it responds correctly with our site. However, if I visit localhost/ or 127.0.0.1/ when I'm logged into box.company.com, I get a "couldn't connect to host" message.

The hosts file has only one entry - the standard "127.0.0.1 localhost" line. Pinging 127.0.0.1 works fine. Pinging localhost correctly resolves to 127.0.0.1 and works fine.

I've tried restarting IIS and restarting the DNS Cache. I had this problem once before, and restarting the server fixed it, but I'd like to know what's going on in case this happens again in the future.

© Server Fault or respective owner

Related posts about dns

Related posts about iis