Created a simple MVC project in VS 2019, when I clicked debug, it either popped up a "process with and Id of is not running" message box or show ERR_CONNECTION_RESET error in the browser.
unstalling/reinstalling IIS express, deleting IIS configuration files, deleting the hidden .vs folder under the project, none of this worked.
I started IIS Express in CMD, it showed the message : Unable to launch the IIS Express Web server. The format of the specified network name is invalid - 0x800704BE
Found this link http://habjan.blogspot.com/2014/02/visual-studio-2013-unable-to-launch-iis.html
and followed the instuctions:
1. check the IP address bindings by opening command prompt in admin mode and running this command:
netsh http show iplisten
this showed me that the service is listening only 192.168.1.3.
2. then I went to delete this binding by running this command:
netsh http delete iplisten ipaddress=192.168.1.3.
3. and set the service up to listen to all IP addresses by running this command:
AdminCmd.exe setupsslUrl -url:https://localhost:44387/ -UseSelfSigned
It works now, great job for creating the mazes, Microsoft.