0

I got the above problem, Well as a daily routine I switched on my PC, opened VS 2010, MS SQL Server. Build the solution and run it. I got this.

I googled it and i got these many solutions.

1 2 3

I tried to find the running process there are ain't one as i got the error when i run the application after i switched on my PC.

Every day it was working fine. Why not today?

I think i dont need to worry about firewall/antivirus. What may be the problem?

Community
  • 1
  • 1
Shreyas Achar
  • 1,407
  • 5
  • 36
  • 63
  • Do you have multiple instances of Visual Studio running the same project? (Or 2 Copy of the project) – Reza Aghaei Dec 04 '15 at 04:38
  • No i dont have multiple instances. – Shreyas Achar Dec 04 '15 at 04:40
  • I've occasionally seen VS 2010 leave processes running even though you've told it to stop them. A reboot should solve that (as well as a number of other possible issues). If you're connecting to IIS, it gets even more complicated. – James Dec 04 '15 at 04:44
  • Try to change the port of IIS Express to something else, for example `30000`, and check if the problem remains. (Go to Project properties, Web tab, Project Url text box) – Reza Aghaei Dec 04 '15 at 04:46

2 Answers2

1

Open command prompt as Administrator and run the following to see what's listening on that port;

netstat -ab | more
Stafford Williams
  • 9,696
  • 8
  • 50
  • 101
1

Open CMD Run As Administrator and run the below command:

net stop hns && net start hns

above command is worked for me.!!

Rahul Bavaliya
  • 161
  • 2
  • 8