By default, UWP apps cannot access network resources on the same machine. This restriction can be lifted per app using the
CheckNetIsolation.exe utility. This is described in many places around the web:
The Loopback Exemption can be granted to UWP apps individually. In my use case, I would like to use a system-wide proxy server running on localhost (Internet Options -> Connections -> Local Area Network (LAN) Settings -> Proxy server). This means I have to grant Loopback Exemption to every single one of my UWP apps, otherwise they will not be able to access the Internet at all.
Is there a way to circumvent this network isolation by doing something to the server side, instead of granting Loopback Exemption to every UWP app?
For example, (I have not yet tried this,) I imagine running a virtual machine on my computer and running my proxy server in the virtual machine will allow UWP apps to connect to the proxy server, since the proxy server is not listening on a loopback interface. Are there any other method / hack that will work similarly?
Things I have tried that don't work:
- Binding the proxy server to another IP address in 127.0.0.0/8, instead of 127.0.0.1
- Adding a Microsoft Loopback Adapter, assigning it an IP address, and binding my proxy server to that address