I don't remeber this being an issue before, and many threads are rather outdated now.
On my Windows 10 installation VS 2019 hosts my project at http://localhost:58402 just fine.
However when I go to change the url under Properties > Debug > App URL to 0.0.0.0:58402 I get the error:
Cannot connect to web server IIS Express
What I have tried:
- Running VS 2019 as admin
- Restarting computer
- Deleting hidden VS folder
- Modifying
launchSettings.json
in my API project properties folder
I can change the port just fine. But as soon as I change localhost
to 0.0.0.0
the error occurs.