Visual-studio – Visual Studio 2008 Development Web Server Problem

cassinivisual-studio-2008

I'm having a visual studio 2008 solution with asp.net 2.0/C# website. When I press F5 to debug, cassini – the development webserver starts properly and hooks it self in the system tray. But there's a problem after this. If cassini starts at say port 4004, the browser looks for port 4002. I will then have to manually change the port in my browser address bar to 4004 to start the website.

I've encountered this problem in VS2005 SP1 as well. This is really killing me by eating lot of my time incurred in manually chaning the port in browser address bar. No help available on this issue on MSDN.

Best Answer

Are you running ESET NOD32 Antivirus? Its firewall is likely causing the issue:

ESET NOD32 and Visual Studio Port Numbers