I was trying to launch the app on the URL "http://192.168.0.1:4000/", and the above answers didn't help.
Finally, I added the *:4000:localhost
HTTP binding to the .vs/.../applicationhost.config
, so now the binding section looks like this:
<bindings>
<binding protocol="http" bindingInformation="*:4000:localhost" />
<binding protocol="http" bindingInformation="*:4000:192.168.0.1" />
</bindings>
And it did the trick