Problem:
You have created an ASP.NET web application with HTTPS.
You ran the application on https://localhost:5001 and got the “ERR_CONNECTION_RESET” error.
Solution:
1. Open Command Prompt with admin rights.
2. Type and press Enter
cd "C:\Program Files (x86)\IIS Express"
3. Type and press Enter
IISExpressAdminCmd.exe setupsslUrl -url:https://localhost:5001/ -UseSelfSigned
Change 5001 in the command above to the port you’re trying to use.
(Visited 72 times, 1 visits today)