IIS Express报告所有已经在使用的端口
当我尝试通过在Visual Studio中调试ASP.NET应用程序来运行IIS Express时,我会收到一条错误消息,说明另一个应用程序正在使用该端口,无论我在“ Web”下的项目属性中选择了哪个端口。为什么?
When I try to run IIS Express by debugging an asp.net application in visual studio, I get an error message that the port is being used by another application, regardless of which port I select in the project properties under "Web". Why?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
源相同的问题,更改任何端口的错误是相同的错误,但是...
在高架CMD中运行后。
然后
看到我在“随机选择”范围内管理了一些端口,
对于不在托管端口中的范围,我能够再次进行调试。
Fount the same issue, changing any port was getting the same error but...
after running in a elevated CMD:
and then
Saw some ports being managed in the range I was "randomly selecting"
After changing to a range that was not in the managed ports, I was able to debug again.