Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
1  
What is the actual message displayed in the browser? Turning off the firewall on the local machine won't help, it needs to be turned off at the server to test it properly. –  Dave Dec 10 '12 at 15:56
    
whats the output of this command in Powershell? 'netstat -ao | findstr LISTENING' –  Frank Thomas Dec 10 '12 at 15:57

1 Answer 1

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)?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.