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?
Looks like you are facing this bug: https://github.com/dotnet/aspnetcore/issues/16892
Try repair in Visual Studio Installer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.