3

I cannot connect to the local IIS 7 using "http://localhost" in IE. "http://127.0.0.1" doesn't work either.

The strange thing is that if I add a binding on e.g. port 81, then I can reach "http://localhost:81". Also turning off the firewall on the local machine doesn't help. The site is reachable from the internet. The local requests don't seem to hit IIS (no entries in the IIS log files).

IIS is hosted on Windows Server 2008 R2 from behind a hardware firewall device.

Note that I'm a programmer, not a network administrator, so I'm having a hard time trouble shooting this.

Wout
  • 131
  • 1
  • 1
  • 3

2 Answers2

2

Open up IIS and navigate to your site (use the content view, not feature view) and find your default site, locate your default file (index.html or default.aspx) and right click and browse. What does this do? The chances are the default site is not pointing to the locations you mentioned but something like localhost/webiste so I would guess the path you're looking at is wrong.

enter image description here

If it still fails, please let me know why it fails (is there an error message)?

Dave
  • 25,513
0

This worked for my situation, (however I set DisableStrictNameChecking=0): http://blogs.technet.com/b/sharepoint_foxhole/archive/2010/06/21/disableloopbackcheck-lets-do-it-the-right-way.aspx

John
  • 21