Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 .Net 应用程序。当我处于调试模式时工作正常。
当我停止调试时,我收到下一条消息哎呀!“浏览器”无法连接到 localhost:someport。
我怎样才能防止这种行为?
转到 IIS 管理器。
站点 --> 添加网站 --> 编写解决方案文件夹的物理路径 --> 随机更改端口 80,这应该可以。