Reputation: 275
I need to use port 80 for my development server. Before i restart pc, it's still working fine. After that, it pop up the port 80 is in use. The development server able to run if i changed to other port.
I've checked using netstat -ano, no program is using it (my iis is using other port and my skype is not using port 80 as well). I also test with telnet localhost 80, it didnt show any failure message, just the screen goes blank...I'm using win xp. Is my visual studio has problem?
Upvotes: 0
Views: 6483
Reputation: 65
I had the same issue when trying to add a service reference to one of my projects. I deleted the service's site from my local IIS and re-created it from the service project in Visual Studio and re-built. This resolved the issue for me.
Upvotes: 0
Reputation: 1
I also faced this issue and got two solutions for this:
What I tried is to change the port. For example: I was getting an error for port 22116, so I changed the port to 22117 and it started working.
Now how to do that:
For me, after this change it started working.
Upvotes: 0
Reputation: 3535
If you use Skype, then Skype reserves port 80 as an alternative port (disable in Skype settings). I had this happening to me several times.
Upvotes: 1
Reputation: 275
Things i have done.
Upvotes: 2
Reputation: 1551
If your telnet window goes blank when you telnet to 80, then something is already listening on that port.
Upvotes: 0
Reputation: 19591
Port 80 is a reserved port number, for HTTP traffic. http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
Why exactly do you need to use port 80?
Upvotes: 0