First, check whether the issue is the loopback restriction or the proxy itself

If desktop browsers connect through Clash but one app fails to sign in or times out loading content when the system proxy is enabled, check whether it runs in an AppContainer. The Microsoft Store also distributes packaged desktop apps; being installed from the Store and having a package name does not necessarily mean an app is subject to the AppContainer loopback restriction.

A loopback address points to your own device, such as IPv4 127.0.0.1. When an app follows the system proxy settings, it connects to this local endpoint first, then the Clash core processes the request. AppContainer blocks apps from accessing localhost by default. Granting an exemption to the relevant package only relaxes that access restriction. It will not make an app that ignores the system proxy use one, nor will it change Clash routing rules.

  1. Open Windows 11 Settings → Network & internet → Proxy. If you use a manual proxy, check that the address and port match your client. If you use a setup script, first confirm that the script is active; do not assume an old value in the manual proxy fields is the current endpoint.
  2. Check the HTTP or mixed port in your client. A mixed port accepts both HTTP and SOCKS requests. When entering the Windows system proxy manually, do not use a SOCKS-only port or the control port used by the dashboard.
  3. Open a regular PowerShell window and test the port from the desktop. The example below uses 7897; replace it with the port your client actually uses before running the command.
Test-NetConnection -ComputerName 127.0.0.1 -Port 7897

TcpTestSucceeded : True only means the desktop environment can establish a TCP connection. It does not prove the target app can connect or that Clash is listening on that port. If the result is False, check that the core is running and listening on the right address. If the client reports a port conflict, change the port and update the system proxy too. If desktop browsers fail as well, follow the troubleshooting guide to check the proxy endpoint and nodes before trying an app exemption.

Grant a loopback exemption to one app with CheckNetIsolation

Find the package family name

First, open regular PowerShell under the Windows account where the issue occurs and list the packages installed for that account. An app's Start menu display name may differ from its package Name. Check the product identity and publisher to confirm the correct row, then copy its PackageFamilyName. Do not copy the versioned, architecture-specific PackageFullName, or grant access to a framework or dependency package based on a similar name alone.

Get-AppxPackage |
  Sort-Object Name |
  Select-Object Name, Publisher, PackageFamilyName |
  Format-List

If the Microsoft Store app itself is affected, use the query below to narrow down the results. This only helps find the Store package name. Apps downloaded from other stores have their own package names, and exempting the Store will not affect them.

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

Keep the existing settings and add only one entry

Right-click Windows Terminal, select “Run as administrator,” and open PowerShell. Run -s first to see existing exemptions. If the target is already listed, do not add it again or remove the existing entry after testing; skip to the section below on checking whether the app actually uses the system proxy. If it is not listed, paste the package family name you copied when prompted:

CheckNetIsolation.exe LoopbackExempt -s
$packageFamily = (Read-Host 'Paste PackageFamilyName').Trim()
if ($packageFamily) {
    CheckNetIsolation.exe LoopbackExempt -a "-n=$packageFamily"
    CheckNetIsolation.exe LoopbackExempt -s
}

-a adds an exemption, -n specifies the package family name, and -s displays the current list. Check that the new entry appears after running the command. If you get an access denied error, make sure Terminal is running as administrator. If the expected entry does not appear, confirm you copied the package family name for the affected app under the right Windows account. On managed devices, follow your organization's instructions.

Only exempt apps that need access to the local proxy. A loopback exemption is not limited to a specific Clash port and may let the app reach other services listening on your device. Do not select every package just to troubleshoot one app, or expose the proxy listener to your local network.

Grant a loopback exemption with a built-in client tool

Some Windows clients include a graphical tool for loopback exemptions. Look for “UWP Loopback Exemption,” “Loopback Exemption,” or a similar option in Settings or the tray menu. Menu paths vary by client and version. If you cannot find the option, use the Windows command above; there is no need to reinstall or switch clients for this.

  1. Open the tool and confirm that any system permission prompt came from the tool you just launched. Note the app's current selection state; if needed, compare it with the existing list using LoopbackExempt -s.
  2. Select only the affected app. If several entries have similar names, verify the identity using the package family name. If the tool does not show enough information to identify it, use the command-line method with the package name instead.
  3. Click “Save changes” or “Apply,” then close and reopen the tool to confirm the app is still enabled. Fully exit and relaunch the affected app; closing its window may leave background processes running.

Built-in tools typically edit the same Windows loopback exemption list, so you do not need to add the exemption again from the command line. Clash configuration files, subscription data, and node selection do not control this Windows setting.

Retest the connection, distinguish direct traffic from proxied traffic, and revoke the exemption if needed

Use connection logs to see how far the request gets

Keep the proxy port, configuration, and node unchanged; change only the exemption. Reopen the target app, repeat the same action—for example, refresh a Microsoft Store app's details page—and note the time. Open the Connections page in your client and check for the known destination domain around that time. Requests may finish quickly, so if they do not appear in the live list, check the client logs as well.

  • Connection appears, but uses DIRECT: The request reached Clash, so loopback is not the current bottleneck. Check the matched rule and selected policy. In rule mode, a connection entering the local proxy can still be routed directly.
  • A proxy policy is matched, but the request times out or fails to resolve: Check the node selected by that policy and whether the log points to a target-domain DNS failure or an upstream connection failure. Adding the loopback exemption again will not fix either issue.
  • The request never appears: Confirm the app is making a network request. Check whether it reads the Windows system proxy, uses its own network settings, or is connecting to a destination on the proxy bypass list. If TUN is enabled, seeing a connection alone does not prove the request went through the system proxy. Distinguish traffic captured by the virtual adapter from an app connecting directly to the local proxy port.

Revoke only the entry you added

If the exemption did not help or the app no longer needs access to the local proxy, use an elevated PowerShell window to remove the package you just added, then check the list. If you used a graphical tool, you can uncheck that app and save instead. Leave exemptions for other apps untouched.

$packageFamily = (Read-Host 'Paste the PackageFamilyName added this time').Trim()
if ($packageFamily) {
    CheckNetIsolation.exe LoopbackExempt -d "-n=$packageFamily"
    CheckNetIsolation.exe LoopbackExempt -s
}

Restart the target app after revoking the exemption and test again. If you later switch how the app is distributed, look up its current package family name; a different name means the old entry does not apply to the new package. If the issue now affects multiple desktop apps, return to system proxy settings and check the shared endpoint instead of granting exemptions one app at a time.