

In this case, you can add the specific host address used by the virtual switch. You can just put this into launchSettings.json to get it working, but likely you'd want to keep this pretty restricted long term. Your config probably says something like " Most servers are going to be just fine with you telling it to listen on 0.0.0.0, which means any address, so change the entry to "". That's ordinarily fine, but if you're trying to hit it from sandbox, you'll need to be listening on the address that the sandbox can reach.

net project using Kestrel or IIS, you might check in your project's properties folder for a file named "launchSettings.json", and you'll note that by default the addresses the server(s) listens on is "localhost".

Second, your firewall on the server needs to allow inbound connections from the address space that sandbox uses.Ĭhanging the IP address binding of your webserver varies by the server platform. First, your web server needs to be listening on the address that sandbox can reach (it probably isn't by default).
