I attempted to run my web service through visual studio. I faced an issue like :
---------------------------
Microsoft Visual Studio
---------------------------
I ran into the same problem after we had upgraded a solution from Visual Studio 2012 to 2015. I had come here and ran netstat
only to find that no other application was using the same ports. It turns out I had the same sites with the same ports mapped in the applicationhost.config
at Users/
and the applicationhost.config
in the .vs
folder inside my solution. I should note that the problem didn't start right after the upgrade either. It just start failing consistently one morning. A couple reboots didn't seem to solve the problem either.
Removing the conflicted sites from the one stored in my Documents and restarting Visual Studio solved the problem.