Problem with ssl in Visual Studio and ASP.NET Core

Viewed 216

I run the application via IIS Express. If you check this box, the browser returns the error

This site can't be reached

The application was created from scratch and no code was changed.

If I use this command

C:\Program Files\IIS Express> .\IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:44376 -UseSelfSigned 

then everything will work for the specified url, but if you create another application, it does not work again.

How to make the application run at any url?

enter image description here

enter image description here

1 Answers
Related