[英]ASP.NET Core 3.1 app on IIS Express: “This site can't be reached” and "The connection was reset"
I have developed ASP.NET project in Visual Studio 2019. When I try to run the project with IIS Express, the webpage says “This site can't be reached” and "The connection was reset".我在 Visual Studio 2019 中开发了 ASP.NET 项目。当我尝试使用 IIS Express 运行项目时,网页显示“无法访问此站点”和“连接已重置”。
In taskbar I can see that IIS Express is working and I'm able to debug and step though my code till the very end successfully so I know the service is executing fine without any errors.在任务栏中,我可以看到 IIS Express 正在运行,我能够调试并单步调试我的代码,直到最后成功,所以我知道该服务执行正常,没有任何错误。
I created a new project, just to ensure that there weren't any errors within my config or build files.我创建了一个新项目,只是为了确保我的配置或构建文件中没有任何错误。 When I run the new project, I get the same result.当我运行新项目时,我得到了相同的结果。
I tried with other browsers as well, but still the same error.我也尝试了其他浏览器,但仍然是同样的错误。
I repaired the Visual Studio using the Visual Studio Installer, and reset everything to default, and had no success with that.我使用 Visual Studio 安装程序修复了 Visual Studio,并将所有内容重置为默认值,但没有成功。
I tried to delete hidden vs. folder and had no success.我试图删除隐藏的 vs. 文件夹但没有成功。
Any advice on how to resolve this would be greatly appreciated.任何有关如何解决此问题的建议将不胜感激。 Thanks!谢谢!
I fixed the issue by deleting Kaspersky Antivirus.我通过删除 Kaspersky Antivirus 解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.