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 have IIS installed on my windows 7 machine.

But when I try to browse the localhost I am getting 404.

I tried to put netstat and I see

 Proto  Local Address          Foreign Address        State 
 TCP    127.0.0.1:80           ABCHOME:49466        TIME_WAIT
 TCP    127.0.0.1:80           ABCHOME:49468        TIME_WAIT

ABCHOME is the computer name. Any idea how to find what is that foreign address and how can I stop listening to port 80?

I tried uninstall and reinstall the IIS but no luck.

Thanks for your help.

EDIT: I already have the following entry in host file 127.0.0.1 localhost

share|improve this question

migrated from serverfault.com Aug 9 '12 at 20:07

This question came from our site for system and network administrators.

2 Answers 2

up vote 4 down vote accepted

The fact that you get a 404 error (rather than no reponse at all) means that you have a webserver running on your computer. Probably not a complete one, but one that at least follows the rules of HTTP.

Skype is a common offender, but there could be others as well.

To see which program is listening, type

netstat -nab

You have to be running cmd with administrative privileges for it to work.

share|improve this answer

Well, if you open up command prompt, and type ping localhost do you get a response?

If yes, have you made sure that your new IIS website does not require a host header which you are not using? (Right click the website, Edit Bindings).

Also, make sure that your website is actually running by running the command iisstart.

Finally, are you able to browse to the website in IIS?

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.