Problem: Can't Access Anything on LocalHost?

Just the other day, I tried viewing a web application I’m developing on my local machine. After navigating to http://localhost/MyWebApp/ I got a blank browser screen. Nada. Zippo. Nothing. Not even the benefit of an error message.

Fortunately, the nice people at SysInternals have graced the development world with their suite of fantastic utilities including TCPView.

I ran TCPView and noticed that Skype.exe was listening on port 80. I shut that down, restarted IIS and sure enough, my local sites were back to their springy selves.

Turns out that the latest version of Skype attempts to listen in on port 80 and 443 by default, in case your firewall blocks all other ports. That’s an interesting feature, and one I’ll probably thank them for some day, but I wish they would have indicated that they were going to attempt this.

To fix this issue, I went to the Tools | Options menu in Skype and selected the Connection and unchecked the box next to “Use port 80 and 443 as alternatives for incoming connections.”

What others have said

Requesting Gravatar... bonna Jul 11, 2005 6:46 PM
# re: Problem: Can’t Access Anything on LocalHost?
I also hate the fact that it starts automatically with windows startup and that you have to login to disable this behaviour.

Or you could use Autoruns.... also from Sysinternals. :)
Requesting Gravatar... Community Blogs May 18, 2007 4:17 PM
# Service Unavailable Errors in IIS 7 Are Killing Me
I am at my wits end trying to get IIS 7 to work on my Vista Ultimate box and I have tried everything
Requesting Gravatar... Alex Lee May 30, 2007 6:33 AM
# re: Problem: Can't Access Anything on LocalHost?
I was able to get IIS 7 to work on my Vista by going to Services Under Computer Management and enabling World Wide Web Publishing Service. (It was disabled by default)

What do you have to say?

(will show your gravatar)
Please add 6 and 4 and type the answer here: