VS2010 error: Unable to start debugging on the web server

前端 未结 27 3589
萌比男神i
萌比男神i 2020-12-13 07:42

I get error message \"Unable to start debugging on the web server\" in Visual Studio 2010. I clicked the Help button and followed the related suggestions without success.

27条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-13 08:40

    I had the same issue on Win7 and VS2010 (without ReSharper) and found that Skype listened on port 80. IIS listens to port 80 by default. This can occur when you set VS to debug an existing web application running in IIS instead of the built in ASP.NET debug web server.

    I solved the issue by unchecking "Use ports 80 and 443 as alternatives for incoming connections." in Skype under Tools -> Options -> Connection, followed by a restart of Skype.

提交回复
热议问题