Windows 11 Store Apps Not Working with a Proxy? How to Enable UWP Loopback Access

Learn why UWP apps are blocked from accessing localhost by default, how to allow loopback access with built-in Windows commands or your client’s tools, and how to undo the change.

First, check whether loopback isolation is the issue

Windows 11 can use a local address for its system proxy, such as 127.0.0.1:7890. Apps that use this setting connect to Clash’s local listening port first, then Clash handles outbound traffic according to the active mode and rules. A desktop browser working through the proxy doesn’t mean a Store app can make that initial connection too. UWP apps running in an AppContainer are isolated from loopback networking by default, so Windows may block access to localhost before the connection reaches Clash. If that happens, switching nodes, updating subscriptions, or changing to Global mode won’t make the request appear in Clash’s logs.

  • Neither the browser nor the affected app can connect: Check that the client is running, the proxy address matches, and the port is listening. Don’t change the exemption list yet.
  • The browser works through the proxy, but one Store app is offline: Check whether the app uses the system proxy, then test loopback access for its package. The Microsoft Store is a distribution channel; desktop programs installed from it don’t necessarily run in an AppContainer.
  • The request appears in Clash’s connection list: It has reached the core. Check the matched rule, outbound policy, and error details rather than blaming loopback isolation for a timeout on that request.

Check the system proxy address and Clash listening port

  1. Open Windows Settings → Network & internet → Proxy. Under “Manual proxy setup,” check the current address and port. If “Use setup script” is enabled, remember that the script may send some destinations directly. Don’t assume the old values in the manual proxy fields reflect the route actually in use.
  2. In Clash’s settings, check the “Mixed port” or “HTTP port.” Windows manual proxy settings must point to a listening port that accepts HTTP proxy requests, not a SOCKS-only port. This example uses 127.0.0.1:7890; if the client shows 7897, replace the example port with that value too.
  3. Run two checks in a regular PowerShell window. First, confirm that the local TCP port is reachable; then explicitly send an HTTPS request through the HTTP proxy. This avoids relying on whether the current terminal inherited the system proxy settings.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7890
curl.exe --noproxy "" --proxy http://127.0.0.1:7890 --head --max-time 15 https://example.com/

TcpTestSucceeded : True only confirms that the TCP connection succeeded. For the second command, check whether you receive an HTTP response from the destination. A proxy response of 200 Connection established only means the tunnel was set up. If the second command times out or returns an error, first check how Clash handled that request. Both checks run from a desktop terminal and don’t prove that the target app has loopback access. If the system proxy uses the IPv6 loopback address ::1, test that address directly; a successful IPv4 test doesn’t confirm that IPv6 is listening properly.

Add an exemption for one app with CheckNetIsolation

This example uses the Microsoft Store app. First, look up its package identifier while signed in to the Windows account that installed and uses the app. Use PackageFamilyName, the package family name required here. Don’t use the Start menu display name, program path, or version-specific PackageFullName.

Get-AppxPackage -Name Microsoft.WindowsStore |
  Select-Object Name, PackageFamilyName

For a different app, run Get-AppxPackage | Select-Object Name, PackageFamilyName to find its entry among the packages registered for the current user. If it doesn’t appear, check the signed-in account and installation type; don’t substitute another package from the same publisher. Next, right-click Start → Terminal (Admin) and open PowerShell. The package family name in the example below must match the lookup result.

CheckNetIsolation.exe LoopbackExempt -s
$pfn = 'Microsoft.WindowsStore_8wekyb3d8bbwe'
CheckNetIsolation.exe LoopbackExempt -a "-n=$pfn"
CheckNetIsolation.exe LoopbackExempt -s
  1. Before running -s for the first time, note whether the target entry is already present. If it was already there, adding it again won’t help identify the cause, and you shouldn’t remove the pre-existing entry afterward.
  2. -a adds an exemption for the specified app package. Run -s again to confirm the entry was added, then close and reopen the app.
  3. Repeat the same action—for example, open a product details page that previously failed to load. Check Clash’s connection or log view for new requests at the time you performed the test. Keep the port, node, and mode unchanged so you can tell which step made a difference.

Add or remove an exemption with your client’s built-in tool

Some Windows clients include a graphical tool for managing loopback exemptions. Where to find it depends on the client and version; it isn’t a standard mihomo menu. Open the client’s Settings and look for “UWP Loopback Exemption” or “Loopback Exemption.” If your version doesn’t include it, use the Windows command above. “Allow LAN” is not the same as a loopback exemption: it controls whether devices on your local network can reach the listener and doesn’t change an app’s loopback permissions.

  1. Open the tool and grant permission if prompted. Note the target app’s original checkbox state first; if there are multiple entries with the same name, verify the package family name.
  2. Select only the app you want to test, then save or apply the change as prompted. Don’t select all apps or change any other entries that were already checked.
  3. Reopen the tool or run CheckNetIsolation.exe LoopbackExempt -s to verify the change. Then reopen the app and repeat the same action or visit the same page.

Still can’t connect after adding the exemption? Trace where the request stops

The target request still doesn’t appear in Clash

First, check the log filters and make sure you’re viewing the test time and the core that’s currently running. Confirm that the exemption applies to the package actually making the connection. If the Store home page loads but downloads remain stuck, the foreground app and background download may use different network paths. A successful exemption for the foreground app doesn’t prove that a background service uses the current user’s system proxy. Some apps also make connections directly without reading the manual proxy settings. Check the app’s network settings and the status of related Windows components, such as Windows Update and app downloads, rather than adding exemptions to more packages by trial and error.

Clash logs the request, but it times out or the page only partly loads

Compare the domain and timestamp in the connection details. DIRECT means the request was sent directly according to the configuration; it doesn’t indicate a loopback failure. If a proxy policy is shown but the connection times out, check the node selected by that policy and the error log. A page’s main content, sign-in, and downloads may use different domains, so one successful request doesn’t mean the whole feature is working. Keep the existing rule mode and retest the specific feature that failed; don’t switch to Global mode as a long-term workaround.

TUN was enabled, and the results differ from manual proxy

TUN captures traffic at the system routing layer. That’s a different path from an app connecting directly to an HTTP proxy at 127.0.0.1. To test a loopback exemption, note the current TUN setting, then temporarily turn TUN off on a device where you’re allowed to make that change and retest with only the system proxy enabled. If the app still tries to connect to a local proxy, TUN won’t automatically grant its AppContainer loopback access. Restore the original setting when you’re done.

Remove the loopback exemption added for this test

If you were only comparing behavior or have confirmed loopback isn’t the issue, remove the entry you added during this test. In the graphical tool, uncheck the app you just selected and save. From an administrator PowerShell window, use -d. Use the same package family name you used when adding the exemption.

$pfn = 'Microsoft.WindowsStore_8wekyb3d8bbwe'
CheckNetIsolation.exe LoopbackExempt -d "-n=$pfn"
CheckNetIsolation.exe LoopbackExempt -s

Confirm that the entry is gone and any pre-existing entries remain, then restart the target app and test again. Closing Clash or turning off the system proxy won’t remove the exemption. Likewise, removing an exemption won’t restore the Windows proxy address or port. If you changed the proxy settings or setup script during troubleshooting, restore them separately under Settings → Network & internet → Proxy.

Download Clash