我通过 Secure an ASP.NET Core Blazor WebAssembly hosted app with Identity Server 在 Windows 10 Pro Build 19042.630 中使用 Visual Studio 2019 创建了一个程序,没有对默认模板应用任何更改。我按了 F5 或 Ctrl+F5,但浏览器没有在 localhost 中显示主页并说 This site can’t be reached ERR_CONNECTION_REFUSED。在调试选项卡 SSL was Enable 中,但在我禁用它之后呈现的主页。现在我需要 SSL 用于安全性、身份服务器和无法工作..
这些解决方案对我没有帮助
非常感谢您的建议....
答案 0 :(得分:0)
通过格式化 Windows 驱动器并安装 Windows 和 Visual Studio,它终于工作了。