Your browser uses the proxy. Why don’t Store apps?
When the Windows system proxy is set to 127.0.0.1:7890, apps that use this setting need to connect to a local proxy first. Regular desktop browsers can usually make that connection. Apps running in an AppContainer, however, are blocked from loopback connections by default. Even if they read the same proxy address, their connection to the local port may be blocked. In that case, the request never reaches mihomo, so rules, node selection, and the core’s DNS settings aren’t involved.
A loopback exemption removes the local loopback restriction for a specific app container. It’s granted per app package—not for 7890 alone—and it doesn’t force an app to use the system proxy. Microsoft Store is a specific app package; other programs installed from the Store may be UWP apps or regular desktop apps. Where an app came from isn’t enough to tell whether it needs an exemption.
A loopback restriction is worth checking when, under the same account, your browser accesses the internet through the local proxy but a specific AppContainer app fails—and the corresponding request doesn’t appear in mihomo’s connection list when you reproduce the issue.
Before you start: Check the system proxy and mixed port
- In Windows 10 or 11, open Settings → Network & internet → Proxy and check the server address and port under Manual proxy setup. If you use a setup script, first confirm that it actually sends the request in question to your local proxy. Don’t assume the manual proxy address is what the script uses.
- In your Clash Meta client, check which mihomo configuration is running and which port it listens on. This guide uses
mixed-port: 7890as an example; a mixed port accepts both HTTP and SOCKS connections. If the client shows7897, use7897for both the tests below and the system proxy. Don’t enter the controller port or a SOCKS-only port in Windows’ manual HTTP proxy settings. - Use PowerShell to check whether the IPv4 loopback port is reachable. If the TCP test fails, first check that the core is running and that the client’s listening address and port match the system settings. You don’t need to enable LAN access for local apps to use the proxy.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7890
Get-NetTCPConnection -State Listen -LocalPort 7890 |
Select-Object LocalAddress, LocalPort, OwningProcess
TcpTestSucceeded : True only means PowerShell can connect to that port. It doesn’t prove that mihomo is listening or that a Store app has the same permissions. If needed, check the PID under OwningProcess on Task Manager’s Details tab, then make a fresh request in your browser and confirm it appears in the client’s connection list.
Method 1: Grant an exemption with a GUI tool
If you have Fiddler Classic installed, open the AppContainer loopback exemption tool from the WinConfig toolbar. This procedure uses Fiddler only to manage exemptions—you don’t need to capture traffic or enable HTTPS decryption. If opening Fiddler changes the system proxy port, stop capturing and exit Fiddler before testing. Then make sure the proxy address and port point to mihomo again.
- Open WinConfig, approve the Windows administrator permission prompt if needed, and wait for the app list to load.
- Find the target app and select only its entry. For example, the package family name for Microsoft Store is
Microsoft.WindowsStore_8wekyb3d8bbwe. If several entries have similar names, verify the package family name with the PowerShell command in the next section instead of guessing from the display name. - Click Save Changes. Close and reopen the target app, then retry the same page or search. Keep the original node, rules, and port unchanged so you can tell whether the exemption made a difference.
Don’t use Exempt All to add every app to the list. An exemption affects more than proxy access: it also relaxes the target container’s restrictions on other local loopback services. When testing is done, clear the app’s checkbox and save again if you no longer need the exemption. Leave any pre-existing entries unchanged.
Method 2: Add and remove an exemption with CheckNetIsolation
Find the package family name, then add the exemption
In the Windows account where the issue occurs, open PowerShell and find the app packages installed for that account. Here’s how to check Microsoft Store:
Get-AppxPackage -Name Microsoft.WindowsStore |
Select-Object Name, PackageFamilyName
For another app, run Get-AppxPackage | Select-Object Name, PackageFamilyName to find its package. The -n argument requires the PackageFamilyName, not the version- and architecture-specific PackageFullName or the app’s Start menu name. If the package doesn’t appear under the target account, check the app type and signed-in account first—don’t guess with a similar package name.
Open PowerShell as an administrator. Use -s to check existing exemptions first. If the target is already listed, skip adding it and investigate how the app handles proxy settings. Here’s an example for Microsoft Store:
CheckNetIsolation.exe LoopbackExempt -s
CheckNetIsolation.exe LoopbackExempt -a -n=Microsoft.WindowsStore_8wekyb3d8bbwe
CheckNetIsolation.exe LoopbackExempt -s
Check the list again to confirm that the target package or its corresponding container SID appears. Close and reopen the app, then make a new request. A successful exemption and a successful app connection are two separate things: check the command output for the former, and whether the app completes the request and mihomo receives the connection for the latter.
Remove only the entry you just added
If the exemption was only for diagnosis or didn’t help, use -d in an elevated PowerShell window to remove the entry you just added, then use -s to check the result. Don’t clear the entire list; that could affect exemptions previously created for other apps.
CheckNetIsolation.exe LoopbackExempt -d -n=Microsoft.WindowsStore_8wekyb3d8bbwe
CheckNetIsolation.exe LoopbackExempt -s
Still not using the proxy after the exemption? Find where the connection stops
| What you see | What to do next |
|---|---|
| No matching connection appears while the Store page loads | Confirm that you restarted the app, exempted the package actually making the request, and that the system proxy still points to mihomo. The app or a background component may not use the current user’s proxy settings. |
A connection appears, but the outbound route is DIRECT |
Check the matched rule and actual outbound route. The connection may be direct because a rule matched, or because the selected policy group is set to DIRECT. There’s no need to change the loopback exemption. |
| A connection appears, but the proxy route times out | Note the hostname, policy group, and log error. Then check whether the problem is DNS resolution, the outbound connection, or an unresponsive destination. A successful node latency test doesn’t guarantee that this destination is reachable. |
| The Store loads, but app downloads stall | Reproduce browsing, sign-in, and downloading separately. Downloads may be handled by a background service; exempting the Store interface package won’t automatically change the service’s proxy route. |
When should you test TUN separately?
If you’ve confirmed that the app doesn’t use the system proxy, you can evaluate your client’s TUN mode separately. With a system proxy, an app must connect to the proxy port itself. TUN uses a virtual network adapter and system routes to capture traffic within its scope. It doesn’t add a loopback exemption to an AppContainer or guarantee that connections to 127.0.0.1 will work. Record your current settings first, then disable the client’s system proxy, enable TUN, and retry the same operation. Changing one method at a time makes it easier to identify the cause.
At the end of testing, keep only the changes needed to explain the result. If adding an exemption for one app makes its requests appear in mihomo and fixes the original issue, keep only that exemption. If requests already reached the core, investigate rules, DNS, or the outbound route. If connections appear only after switching to TUN, check the app’s network path instead of widening the exemption.