Clash Connected but Websites Won’t Load: Troubleshoot System Proxy, Ports, and DNS

Check system proxy settings, listening ports, routing rules, DNS, and node connectivity to find out why Clash connects but websites won’t load.

1. System proxy: Make sure browser traffic reaches the core

A “Connected” status only confirms that the client reports running; it doesn’t prove that browser requests are reaching the core. Note the current configuration name, mode, system proxy status, and TUN status. Change one setting at a time and retest the same failing URL. Also test a known-good HTTPS site for comparison.

  • Windows 11: Go to Settings → Network & internet → Proxy. For a manual proxy, check the address and port. For a setup script, verify the script URL and the client’s current settings. Don’t add a second manual proxy as a troubleshooting measure.
  • macOS: Go to System Settings → Network → select the current network service → Details → Proxies. Check which proxy settings are enabled. Don’t confuse the settings for Ethernet with those for Wi‑Fi.
  • Only one browser fails: Check whether it has separate proxy settings or whether an extension or organization policy is overriding them. In Firefox, go to Settings → General → Network Settings to review the connection settings.

Reload the failing page and check the client’s Connections or Logs view. If you can’t find the domain, destination address, or a related error at that time, first make sure the log level includes connection events. Then try the explicit proxy test in the next section. If TUN is handling traffic, the system proxy can normally be off. Check that TUN is actually running and capturing the request; the system proxy toggle doesn’t tell you whether TUN is working.

2. Local port: Tell a missing listener from a port conflict

The system proxy should point to an HTTP or mixed port that the running core is listening on—not the controller port. The example below assumes the client provides a mixed proxy at 127.0.0.1:7890. 7890 is only an example; replace it with the port currently in use. mixed-port accepts both HTTP and SOCKS requests. A separately configured socks-port cannot be used as an HTTP proxy port. external-controller is the control interface, not a browser proxy.

Check the listening address and process

On Windows, run the first command in PowerShell. Check LocalAddress and OwningProcess, then match the PID to a process in Task Manager’s Details tab. On macOS, run the second command in Terminal and check the listening address and PID. Run only the command for your platform.

Get-NetTCPConnection -LocalPort 7890 -State Listen
lsof -nP -iTCP:7890 -sTCP:LISTEN

If no listener appears, check the core startup log for a configuration load error, or confirm whether it’s listening on a different port. If you see address already in use and the process isn’t the current client’s core, another client or an old instance may be using the port. Confirm which process owns it, then close the duplicate instance or choose an unused port in the client. If the client doesn’t update the system proxy automatically, update it there too.

Specify the proxy directly to rule out browser proxy issues

Use the commands below to send a request directly through the local HTTP proxy. In PowerShell on Windows, use curl.exe instead of curl. The first command doesn’t rely on the system proxy settings. The second bypasses curl’s application-level proxy, but traffic may still pass through TUN. Use the second command as a direct-connection baseline only if TUN can be paused and is currently paused.

curl -v --max-time 15 --noproxy localhost -x http://127.0.0.1:7890 https://example.com/
curl -v --max-time 15 --noproxy "*" https://example.com/

If the first command reports that the connection to 127.0.0.1:7890 was refused, check the listening address and port. A 200 Connection established response means the proxy accepted the HTTPS tunnel request; check the subsequent TLS handshake and website response too. If the explicit proxy gets a website response but the browser still fails, check the browser’s proxy settings and exception list. A successful comparison site only confirms this test route works; retest the URL that actually fails.

3. Routing rules: Check the actual route used by the failing request

Once a request reaches the core, check that connection’s matched rule and outbound—not just the node name shown on the client’s home screen. In Rule mode, note the failing request’s domain, matched rule, policy group, and actual outbound. A page may load its main document first, then request login, static asset, or API domains. If the page title appears but it keeps spinning, check which subrequest is failing.

What you seeWhat to do next
Matches DIRECT, but the direct connection times outCheck whether the matched direct rule is expected, then compare the result for the same domain over a direct connection.
Matches REJECTCheck the specific rule or rule set that matched. If the block is intentional, switching nodes won’t change the rule’s decision.
Matches a proxy group, but uses the wrong outboundExpand the policy group to see which member is selected. If groups are nested, check each level until you confirm the final outbound.
Falls through to the final MATCHCheck whether the expected domain rule matches the actual subdomain and whether the relevant rule set has loaded.

Rules are evaluated in configuration order, and the first match determines routing. Before making changes, check whether an earlier, broader rule already covers the target. Then confirm that the client applied your subscription overrides to the active configuration. Test with a new request: existing connections may keep using their original outbound, so they can’t confirm whether a change took effect.

4. DNS: Distinguish resolution failures, Fake-IP, and unexpected responses

Different resolution paths can return different addresses without DNS being poisoned. First identify what’s failing: the website domain, the node server’s domain, or the DNS upstream itself. On Windows, run Resolve-DnsName example.com to check the system’s DNS result. On macOS, run dscacheutil -q host -a name example.com. Replace example.com with the domain that fails, then compare the result with the core log from the same time. A successful system lookup only confirms that this resolution path works; the browser’s secure DNS or the core’s policy-selected upstream may use a different path.

  • Lookup times out: Check which request timed out in the log. If it’s the core’s DNS upstream, verify the upstream address, connection route, and network reachability. If only the browser reports an error, first check whether it has its own secure DNS enabled.
  • Returns NXDOMAIN: Check the spelling and subdomain first. A company’s internal domain may only exist on a specific network or resolver. A public resolver returning “not found” doesn’t prove the response is abnormal.
  • Returns an unexpected address: First rule out Fake-IP, split-horizon DNS on an internal network, and CDN responses that vary by region. If the response consistently points to an unexpected block page, compare it with a trusted resolver on the same network and check the actual connection log.

Check for Fake-IP: If fake-ip-range is set to 198.18.0.1/16, an address from that range may be expected. The core maps this virtual address back to a domain before handling the connection, so whether the virtual address is directly reachable doesn’t tell you whether the website is. After changing DNS mode or disabling TUN, an app may still use an old address. Restart the affected app first. If Windows still has an old record in its DNS cache, run ipconfig /flushdns. This command doesn’t clear the browser’s or core’s own cache.

5. Node availability: Compare two outbounds using the same URL

Switching nodes is useful for diagnosis only after you’ve confirmed that the request reaches the core and matches the expected proxy group. In the same policy group with manually selectable members, try the failing URL with the current node, then select another known-good node and start a new connection. Keep the rules and DNS settings unchanged, and confirm in the logs that the two connections use different final outbounds. The latency in a speed test applies only to its probe URL; even a result of 120 ms doesn’t prove the target site is reachable through that node.

  • Only the original node fails: Check whether the log shows a timeout connecting to the node, a DNS failure for the node’s domain, or a handshake or authentication failure. If the client reports a subscription update failure, first check which configuration version is loaded and when it was updated. A successful update doesn’t mean the nodes are online.
  • Both nodes fail, but the comparison site loads: Recheck routing and DNS for the failing domain and its subrequests, then check whether the target site restricts access by outbound. An HTTP 403 from the target site is different from a connection timeout: an HTTP response was received. Check whether it came from the site or an intermediate block page.
  • The direct connection also fails: If direct access is permitted in your environment, check whether the Wi‑Fi network requires sign-in and whether the default connection can reach the comparison site. If the problem only occurs with TUN enabled, restore the original settings and retest TUN separately. Focus on the startup log, route capture, and DNS hijacking settings.

When reporting an issue, include the core version, operating system, proxy mode, listening port, matched rule, final outbound, and first relevant error. Add the times and results of both tests to show whether the request never reached the core, reached it but used the wrong outbound, or used the right outbound but failed upstream. Before sharing, remove subscription URLs, credentials, and any internal domains that shouldn’t be public.

Download Clash