ASP.NET Development Server Failed to start on port

6.5k views Asked by At

I have created a website in Visual studio 2005. When i run it shows its following two error. enter image description here

enter image description here

I have googled it got lost of suggestions but not working.I had Set specific port and opened that in firewall but getting same error. And Other projects in Visual Studio 2010 working fine.

2

There are 2 answers

0
Zarthost Boman On

Make sure that port is not in use: Open command prompt and type netstat -a

If it is in use, find what is using it.

Run VS as admin.

Also check that IIS is not bound to that port and check the user tray to see if VS is using the local iis webserver on that port. Basically look for a little yellow icon that kind of looks like a web page, right click and click close.

Try restarting your PC and see if the problem goes away.

0
Rahul Bavaliya On

Please use this below command and run as administrator

net stop hns && net start hns 

worked for me..!!