views:

12

answers:

0

Hi,

When I debug a web project (WCF, website etc) I find it convenient to fix the port number that the webdev.server.exe uses to server the page as I don't have to switch the port number in other config files that consume that service.

My problem is that over time visual studio becomes unable to use the ports. The error message I get is the follwing:

"unable to launch asp.net development server because port is in use"

and I get this message even after I reboot my machine.

I can increase the port number and that fixes the problem but I would much rather find a way to clear the blockage.

I have google'd around the place and found various suggestions that relate to firewalls and such but I don't think they are relevant. I have even tried turning off firewall. I have even checked out netstat to see if the ports are in use and there are not listed. I am thinking it is a visual studio issue which is why I am posting here.

Any ideas would be greatly received.

-J