Windows UWP Apps Not Using Your Proxy? How to Enable Loopback Access
Microsoft Store apps are blocked from accessing localhost by default, so they may bypass your system proxy. Learn how to enable loopback access with a GUI tool or CheckNetIsolation.
First, confirm the issue is with localhost access
Windows system proxy settings specify a proxy address, such as 127.0.0.1:7890. An app must connect to this local port before its request can reach the Clash Meta (mihomo) core and be matched against proxy rules. Apps running in an AppContainer are restricted from accessing loopback by default. Even if an app reads the system proxy settings, it may still be unable to connect to a local listener.
The Microsoft Store is a distribution channel, not a process isolation type. Desktop programs installed through the Microsoft Store may run as regular desktop processes, while some apps use a separate background component for network access. What matters is whether the process making the request is subject to AppContainer restrictions—not the app icon, where it was installed from, or whether it has a package name. A loopback exemption only lets the specified package access localhost; it does not force the app to use the system proxy.
- Check the system proxy. In both Windows 11 and Windows 10, go to Settings → Network & internet → Proxy and check the manual proxy settings. In Windows 11, you may need to select Set up next to Use a proxy server. Windows 10 usually shows the toggle and fields directly. If your client uses an automatic configuration script, note its settings first; don’t enable a second proxy configuration just for testing.
- Check mihomo’s listening port. The manual system proxy should point to the HTTP or mixed proxy port the client actually uses, such as the configured
portormixed-port.socks-portis for SOCKS, andexternal-controlleris the control interface; neither is the HTTP proxy port you need here. - Establish a baseline. With the system proxy enabled, make a request from a desktop browser that you’ve confirmed isn’t using an extension or custom proxy settings. If the core sees the browser’s request but not a new request from the target app, check for loopback restrictions. If both fail, check the listener address, port, and client status first.
The examples below use 127.0.0.1:7890. If your client shows a different port, use that instead. TcpTestSucceeded : True only means the current PowerShell process can establish a TCP connection. It doesn’t mean the target app has a loopback exemption or that proxy traffic can reach its destination.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7890
GUI method: exempt only the target app
If Fiddler Classic is installed, select WinConfig on the toolbar to open its AppContainer loopback exemption tool. This window edits Windows’ exemption list, not mihomo’s configuration. You don’t need to enable HTTPS decryption or install a capture certificate just to change an exemption.
- Note the existing state. When the tool opens, check whether the target entry is already selected. If it is, don’t change it or remove the existing exemption when you’re done troubleshooting.
- Identify the right package. Find the entry by app name. If there are apps with the same name, Store components, or multiple versions, use the PowerShell commands in the next section to verify the package family name before changing the entry.
- Save this change. Select only the target entry, then click Save Changes. If the tool reports insufficient permissions, close it and reopen it as an administrator. Don’t select everything; other apps’ isolation settings are unrelated to this issue.
- Restore the test conditions. Stop capturing traffic in Fiddler and exit the app. Check that the Windows system proxy still points to mihomo’s listening port. Fully close and reopen the target app, then repeat the network operation that failed.
CheckNetIsolation: Find the package name and add an exemption
Find the PackageFamilyName
Open PowerShell under the Windows account that runs the target app. By default, Get-AppxPackage lists packages for the current user. If you enter credentials for a different administrator account when elevating, first look up the package name in a regular window under the original account, then use that value in the administrator window. Don’t use the app’s Start menu name or pass PackageFullName, which includes version and architecture details, to -n.
Get-AppxPackage |
Sort-Object Name |
Format-Table Name, PackageFamilyName -AutoSize
Use Name to find the app in the output; PackageFamilyName is the package family name required by the command. It combines the package name and publisher ID. If the output is truncated because the window is too narrow, widen the terminal or replace the final line’s Format-Table with Format-List Name, PackageFamilyName, then copy the full value.
Check the existing list, then add an exemption for one package
Open PowerShell as an administrator and run CheckNetIsolation.exe LoopbackExempt -s to view the existing list. If the target package is already listed, leave it as is and proceed to verification. Otherwise, run the following commands. When prompted, paste the full value you found in the previous section.
$family = (Read-Host 'Paste the target app PackageFamilyName').Trim()
if ([string]::IsNullOrWhiteSpace($family)) {
throw 'No package family name entered'
}
CheckNetIsolation.exe LoopbackExempt -a "-n=$family"
CheckNetIsolation.exe LoopbackExempt -s
-a adds an exemption; -s displays the current list. Confirm the target entry appears in the list rather than relying on a success message. After an app update, you usually don’t need to add the exemption again if its package family name hasn’t changed. If the publisher or package identity changes, look up the new name instead of reusing the old entry.
Verify proxy handling in mihomo’s connection log
After reopening the app, perform an action that generates a fresh request, such as refreshing an online list. Note the time, then check the client’s Connections page for the destination host, matched rule, and outbound chain. The page name varies by client. Requests matched to DIRECT are still logged by the core, so verify separately that the request reached mihomo and that it was sent through a proxy node.
| What you see | Next step |
|---|---|
| The target request appears, and the outbound chain includes the expected node | The request reached the core and was sent through that node. If the app still reports an error, troubleshoot the connection failure; there’s no need to broaden the exemption. |
The target request appears, but the outbound is DIRECT |
The app can reach the local proxy. Check the matched domain, IP, or fallback rule, and make sure the policy group isn’t set to direct. |
| The target request appears, but the connection fails | Check the core’s logs for DNS errors, connection timeouts, or handshake failures. If a desktop browser using the same node also fails to reach the same destination, investigate the outbound connection first. |
| The target request never appears | Confirm the app actually made a network request rather than using cached data. Then check whether it reads the system proxy, whether another process made the request, and whether a Windows proxy bypass list excludes the destination. |
Short-lived connections may end before you can inspect them. During troubleshooting, open the client log first, repeat the failed action, then compare the timestamps and destination. Keep the existing rule mode and DNS settings during the test. Don’t change nodes, switch to global mode, or enable TUN at the same time, or it’ll be hard to tell whether the loopback change helped.
Remove the exemption—and when to investigate TUN
Remove only the exemption you added
In the GUI tool, clear the target entry you added and click Save Changes. From the command line, you can also remove it using the same package family name, then check the list again. If the entry was already there before troubleshooting, leave it in place. On a managed device, ask your administrator before changing app isolation settings.
$family = (Read-Host 'Paste the PackageFamilyName of the exemption you added').Trim()
if ([string]::IsNullOrWhiteSpace($family)) {
throw 'No package family name entered'
}
CheckNetIsolation.exe LoopbackExempt -d "-n=$family"
CheckNetIsolation.exe LoopbackExempt -s
If the app ignores the system proxy, check how its traffic enters the network
If the target app doesn’t use the Windows system proxy, a loopback exemption won’t create a proxy path for it. If your client supports TUN and device policies allow it, test TUN separately. TUN routes traffic through a virtual network interface, so the app doesn’t have to connect to 127.0.0.1:7890. Whether traffic reaches the core still depends on Windows routing, TUN exclusions, and the app’s actual network path.
Test each setup separately: first record the results with the system proxy and loopback exemption, then switch to TUN and check the connection log for the same action. There’s no need to enable allow-lan for a localhost issue, or change the proxy listener to bind to all network interfaces. The key is to identify three things: whether the app’s traffic reaches the core, which rule the core matches, and which outbound the rule selects.