I created a program with Visual Studio 2019 in Windows 10 Pro Build 19042.630 by Secure an ASP.NET Core Blazor WebAssembly hosted app with Identity Server, without applying any changes to the default template. I pressed F5 or Ctrl+F5 but browser did not show the home page in localhost and said This site can’t be reached ERR_CONNECTION_REFUSED. In debug tab SSL was Enable, but after I disabled it the home page rendered. Now I need SSL for Security, Identity Server and Can not work..
These solutions did not help me
- Visual Studio not debugging
- Enable SSL in Visual Studio - not prompted to install certificate
- https://www.hanselman.com/blog/working-with-ssl-at-development-time-is-easier-with-iisexpress
- https://www.pluralsight.com/guides/visual-studio-2017-resolving-ssl-tls-connections-problems-with-iis-express
Thanks a lot for your suggestions....