Skip to main content
Proxy Technology

Published Dec 4, 2026

How to Fix ERR_PROXY_CONNECTION_FAILED

ERR_PROXY_CONNECTION_FAILED means Chromium could not establish a usable proxy connection. Find the active setting, test it, and apply the right fix.

How to Fix ERR_PROXY_CONNECTION_FAILED

Quick Answer

`ERR_PROXY_CONNECTION_FAILED` means a Chromium-based browser could not establish a usable connection to the proxy selected for the request. The most common causes are a proxy-name resolution failure or a failed socket connection. Chromium can also return the error when it blocks the configured proxy port or cannot complete the initial TLS negotiation with an HTTPS proxy. The error occurs before an HTTP proxy completes a `CONNECT` tunnel, so the destination website usually has not received the request.

Start by finding which setting selected the proxy. Chrome and Edge can receive proxy settings from the operating system, a managed policy, a command-line flag, a browser extension, or a PAC file. Then copy the current proxy hostname and port from the provider, test name resolution, test the TCP port, and try the same endpoint with cURL. If you did not intend to use a proxy, remove the unexpected setting from its actual source. On a managed device, ask the administrator before changing policy-controlled settings.

Key Takeaways

  • `ERR_PROXY_CONNECTION_FAILED` is Chromium network error `-130`, not an HTTP status code sent by a website.
  • The error usually covers a failure to resolve or connect to the proxy itself. Chromium can also use it for a blocked proxy port or an early HTTPS-proxy TLS failure.
  • A stale hostname, wrong port or scheme, offline proxy, blocked route, stopped local proxy application, or unexpected proxy setting can cause it.
  • Chrome proxy settings can come from system configuration, policy, extensions, command-line flags, PAC, or automatic discovery.
  • DNS, TCP, and cURL tests narrow the failure to the endpoint, proxy scheme, network path, or browser configuration.
  • A `407 Proxy Authentication Required` response proves that the client reached a proxy. It points to authentication, not this connection-establishment error.

What Does ERR_PROXY_CONNECTION_FAILED Mean?

`ERR_PROXY_CONNECTION_FAILED` identifies a failure while the browser is establishing a usable connection to its configured proxy endpoint. Chromium's current network error list defines `PROXY_CONNECTION_FAILED` as error `-130`, primarily for proxy-name resolution or socket connection failures, and excludes failures during the HTTP `CONNECT` method. Chromium's current proxy connection implementation can also map a browser-blocked proxy port or some TLS negotiation failures with an HTTPS proxy to the same error.

The request path looks like this:

`Browser -> proxy endpoint -> destination website`

This error occurs at the first arrow. The browser may have the wrong proxy address or scheme, the proxy endpoint may not be listening on the configured port, Chromium may reject the port, the HTTPS-proxy TLS handshake may fail, or the network may prevent the socket from reaching it. Changing website cookies or login details cannot repair that connection.

The same Chromium network error can surface in browser automation as `net::ERR_PROXY_CONNECTION_FAILED`. The Playwright proxy guide shows the surrounding launch and page-navigation context, but the hostname and socket checks remain the same.

The exact boundary helps distinguish similar-looking failures:

Message or responseWhat it meansFirst place to investigate
`ERR_PROXY_CONNECTION_FAILED`Chromium could not establish a usable connection to the selected proxyEffective proxy setting, hostname, port, scheme, DNS, firewall, proxy TLS, and availability
`ERR_TUNNEL_CONNECTION_FAILED`The proxy was reached, but the requested HTTP tunnel was not establishedProxy response, destination host and port, `CONNECT` policy, and upstream reachability
HTTP `407`The proxy is reachable and requires acceptable credentialsProxy username, password, authentication method, or source-IP allowlist
Website HTTP errorThe request reached an HTTP server and received a responseThe responding server, route, request, and returned status

The broader proxy error-code reference covers HTTP responses from proxies. The guides to HTTP CONNECT and 407 Proxy Authentication Required explain the two later stages without treating them as the same failure.

Why Does ERR_PROXY_CONNECTION_FAILED Happen?

The error appears when Chromium selects a proxy but cannot complete the required connection to it. These are the most useful causes to check.

CauseTypical clueFirst action
Wrong or outdated proxy hostnameThe name does not resolve, or the provider issued new connection detailsCopy the current hostname from the provider
Wrong or closed portDNS works, but the TCP test is refused or failsCompare the configured port with the current endpoint
Wrong proxy scheme or TLS modeThe TCP port opens, but the HTTPS-proxy handshake failsMatch the proxy scheme and TLS requirements shown by the provider
Port blocked by ChromiumThe exact endpoint works with cURL, but Chromium rejects it in every profileUse the provider's approved endpoint on a port Chromium permits
Proxy service is offlineThe same endpoint fails from more than one approved client or networkCheck service status and contact the operator
Firewall or network rule blocks the routeThe endpoint works from another network but not the current oneReview outbound DNS and TCP rules for the proxy host and port
Unexpected proxy configurationThe user did not set a proxy, or another browser follows a different routeInspect system settings, extensions, policy, flags, and PAC
Local proxy application stoppedThe configured host is `127.0.0.1` or `localhost`, but nothing listens on its portStart the approved local application or remove its stale setting
Container uses the wrong network addressA browser inside a container points to `localhost` on the hostUse an address reachable from the container's network
PAC file returns a dead endpointSome destinations fail based on PAC rulesEvaluate the matching PAC branch and returned proxy

Username-and-password credentials are not the usual cause of this specific code. A proxy must accept a connection before it can return an HTTP authentication challenge. If a diagnostic request returns `407`, the endpoint is reachable and the investigation has moved to credentials or authentication support. Client-certificate negotiation for an HTTPS proxy happens earlier and belongs to the proxy TLS setup.

A firewall can fail in several ways. An immediate refusal may surface as `ERR_PROXY_CONNECTION_FAILED`, while silently discarded traffic can end in a timeout instead. Use the visible message together with DNS, port, and cURL results rather than assuming that every unreachable proxy produces the same browser code.

Fix ERR_PROXY_CONNECTION_FAILED in the Right Order

The fastest repair process changes one layer at a time. Preserve the original hostname, port, proxy type, browser, network, and timestamp so you can tell which change solved the problem.

1. Confirm Whether a Proxy Should Be Active

If you intentionally use a proxy, obtain its current connection details before changing anything. Do not replace a provider hostname with a remembered IP or guess a port from another product.

If you do not intend to use a proxy, the setting may have come from a VPN application, security tool, extension, setup script, old local proxy, or managed policy. Remove only the configuration you control. A work or school device may require its proxy for security and network access, so contact the administrator rather than trying to override it.

Testing a direct connection can confirm that the underlying internet connection works, but it does not prove the proxy is healthy. It only shows that the failure is associated with the selected route.

2. Find the Effective Chrome or Edge Proxy Source

Chromium's proxy implementation documentation lists four common sources visible in a NetLog: managed browser policy, command-line flags, per-profile extensions, and per-network system settings. PAC and automatic discovery can make the effective route differ by destination or network.

Check these locations:

  1. Open `chrome://policy` or `edge://policy` and search for proxy-related policy. A managed value should be corrected by the administrator who deployed it.
  2. Open `chrome://extensions` or `edge://extensions` and identify extensions allowed to control proxy settings. Temporarily disable only a user-managed extension you are authorized to test.
  3. Open `chrome://version` or `edge://version` and inspect the Command Line field for flags such as `--proxy-server` or `--proxy-pac-url`.
  4. Review the active operating-system proxy settings.
  5. If a PAC URL is configured, confirm which endpoint its matching rule returns. The proxy PAC file guide explains how routing rules, caching, and fallback affect the selected proxy.

Incognito or InPrivate mode is only a clue. Extensions can have different permissions there, and Chromium proxy state belongs to a particular browser network context. A successful private window suggests a profile or extension difference, but it does not identify the cause by itself.

3. Correct the Windows Proxy Setting

On Windows 10 or 11, open Settings > Network & internet > Proxy. Microsoft's current Windows proxy instructions separate automatic detection, a setup script, and a manual proxy.

  • If you use a manual proxy, open Use a proxy server, verify the address and port, and save the corrected values.
  • If you use a setup script, open Use setup script, verify the PAC URL, and save it.
  • If neither was intended and the device is not managed, turn off the stale manual proxy or setup script that introduced the route.
  • If automatic detection selected an unexpected proxy on an unmanaged device, turn off Automatically detect settings only after confirming that WPAD is not required on that network.
  • Do not disable Automatically detect settings on a managed network unless the administrator confirms it is unnecessary.

Quit Chrome or Edge completely after the change, including any background browser process that remains active. Reopen the browser and test one ordinary page. If policy restores the old value, the local setting is not the controlling source.

Do not begin with `netsh winhttp reset proxy`. That command resets the WinHTTP proxy used by applications and services that rely on WinHTTP; it is not a universal reset for Chrome's effective proxy configuration. Identify the controlling layer first.

4. Correct the macOS or Linux Proxy Setting

On macOS, open System Settings > Network, select the active network service, choose Details > Proxies, and inspect the enabled proxy types and Automatic Proxy Configuration URL. Apple's Mac proxy settings apply per network service, so check the service that is actually connected.

Correct an intended hostname, port, or PAC URL. If the proxy was left behind by an application you no longer use, disable that entry only after confirming the Mac is not managed and the setting is not required.

Linux paths vary by desktop environment and browser package. Check the active desktop network proxy, `chrome://policy`, installed proxy extensions, and the browser launch command. A Flatpak package, container, remote desktop session, or managed browser can use proxy settings or a network context that differs from a terminal on the host.

5. Verify the Hostname and Port

Treat the hostname and port as separate values. A wrong port may reach a different service or no listener at all. A misspelled hostname may fail to resolve or, in some DNS environments, resolve to the wrong host.

Compare all of the following with the current provider output:

  • Proxy type: HTTP, HTTPS, SOCKS4, or SOCKS5.
  • Hostname or IP address.
  • Endpoint port.
  • Whether the client expects a URL such as `http://proxy.example.net:8080` or separate host and port fields.
  • Whether the provider uses a different port for each protocol or proxy.

Do not infer the proxy protocol from the destination URL. An HTTPS website can be reached through an HTTP proxy, usually with a `CONNECT` tunnel. The scheme in the proxy setting describes the client-to-proxy connection. If that setting uses `https://`, Chromium negotiates TLS with the proxy before sending the proxy request. Selecting HTTPS for a plain HTTP listener, or HTTP for an HTTPS-only listener, can therefore fail even when the TCP port opens.

Chromium also restricts certain ports for proxy endpoints. If the exact host, port, and scheme work with cURL but fail in every Chromium profile, compare the port with the provider's current output. Use an approved endpoint on a permitted port rather than weakening the browser's port protections.

6. Test DNS and the TCP Port

First check whether the client can resolve the proxy hostname. Then test the exact TCP port. A successful DNS lookup does not prove that anything is listening on the port.

On Windows PowerShell:

bash

`proxy.example.net` and port `8080` are placeholders. Replace both with the approved endpoint. Microsoft's `Test-NetConnection` documentation explains the `TcpTestSucceeded` result and the related address information.

On macOS or Linux, if the utilities are installed:

bash

`nslookup` and `nc` are not installed on every macOS or Linux system. If either command is unavailable, use the cURL test in the next step instead of treating a missing utility as a proxy failure. A failed lookup points to the hostname or DNS path. A resolved name with a failed port test points toward the port, listener, route, or firewall. The guide to DNS caching explains when a stale cached address can survive after a provider changes a record.

Do not disable the firewall to make the test pass. If an approved proxy is blocked, add or request the narrow outbound rule required for its hostname or resolved address and port.

7. Test the Same Endpoint With cURL

Use cURL to remove browser extensions, profile state, and page scripts from the first connection test. This command deliberately omits credentials so it does not place a real password in shell history:

bash

The proxy address is a placeholder, and `example.com` is a reserved test domain. Replace the proxy value with the current endpoint, including the correct scheme. The HTTPS destination makes an HTTP proxy attempt a `CONNECT` tunnel, which distinguishes basic proxy reachability from a later tunnel failure. `--disable` ignores a local cURL configuration file, and the empty `--noproxy` value prevents an inherited bypass list from skipping the proxy during this controlled test. Keep certificate verification enabled. For an authenticated check, use an approved secret-handling method that does not record credentials in shell history.

The cURL exit-code reference helps classify early failures, but the number alone does not always identify the failed stage. Current cURL versions can use exit `7` when the client cannot open the proxy connection or when an HTTP proxy rejects the later `CONNECT` request. Some older versions report a rejected tunnel with exit `56`. Use the verbose trace to check whether the proxy returned an HTTP response before drawing a conclusion.

cURL resultWhat it establishesNext action
`curl: (5) Could not resolve proxy`The proxy hostname did not resolveCorrect the name or DNS path
Exit `7` with no HTTP response from the proxycURL did not receive a proxy response before the connection attempt failedCheck port, listener, firewall, route, and service status
`curl: (28) Operation timed out`The configured deadline expired, but the exit code does not identify the stalled stageUse the verbose output to see whether DNS, proxy connection, or the response stalled
`curl: (35) SSL connect error`A TLS handshake failed; verbose output shows whether it involved an HTTPS proxy or the destinationIf proxy TLS failed, verify the proxy scheme and TLS requirements
Verbose output shows HTTP `407` during `CONNECT`The proxy was reached and requested authenticationSupply current credentials through an approved method
Verbose output shows another non-2xx `CONNECT` responseThe proxy was reached, but tunnel establishment failedInvestigate the proxy response and requested destination
A valid response from the test destinationThe endpoint works from that client and networkCompare the browser's effective proxy setting and authentication flow

The cURL proxy guide covers authenticated HTTP, HTTPS, and SOCKS5 tests. A broader proxy test should follow after basic reachability works, because a connected endpoint can still return the wrong location, session, or content.

8. Check VPN, Security Software, and Network Rules

A VPN or security application can alter routes, DNS, system proxy settings, or a local proxy listener. If the software is user-controlled, temporarily pause one component at a time, repeat the endpoint test, and restore the protection after the comparison. Do not disable an organization's security controls.

If the proxy works on one authorized network but not another, compare DNS answers, outbound port rules, and route selection. Give the administrator the timestamp, source network, proxy hostname, resolved address, port, and test result. Never include the proxy password.

9. Fix Localhost and Container Addressing

When the configured proxy is `127.0.0.1` or `localhost`, confirm that the expected local application is running and listening on the stated port. A stopped VPN client, debugging proxy, SSH SOCKS tunnel, or desktop proxy application can leave a dead local setting behind.

Inside Docker or another isolated environment, `localhost` refers to that container or environment, not automatically to the host computer. Replace it with an approved address that is reachable from the browser's network context. The Docker proxy configuration guide explains why host, daemon, build, and container settings must be tested separately.

How to Read the Results

The combination of browser and command-line results usually identifies the failing layer.

Browser resultDNS and port testcURL resultMost likely area
Error in every Chromium profileHostname does not resolveExit `5`Wrong hostname or DNS path
Error in every profileName resolves, TCP port failsNo proxy HTTP response before the connection failure or timeoutPort, proxy service, firewall, or route
Error in one profile onlyEndpoint tests succeedValid proxy responseExtension, PAC result, or profile-specific setting
Error in every profileDNS and TCP succeedExit `35` before a proxy requestHTTPS-proxy scheme or client-to-proxy TLS setup
Error in every profileExact endpoint succeedsValid proxy responseChromium-restricted port or a browser-wide policy, flag, or system setting
Error only inside a containerHost test succeeds, container test failsContainer cannot connectContainer DNS or routing
Browser error, but cURL gets `407`Endpoint is reachableAuthentication challengeBrowser endpoint, protocol, or network-context mismatch; authentication is the next cURL stage
Browser error, but cURL gets a tunnel failureEndpoint is reachableProxy returns a tunnel errorDestination, `CONNECT` policy, or upstream path

When the evidence remains unclear, capture a Chromium NetLog from `chrome://net-export` in Chrome or `edge://net-export` in Edge. Reproduce one failed request, stop the capture, and inspect the Proxy and Events views in the NetLog Viewer. Proxy-related events include `PROXY_`, `PAC_`, and `WPAD_` names. A NetLog can contain URLs, hostnames, and other sensitive network details, so redact it before sharing outside the authorized support team.

Using Proxidize to Resolve the Error

For a Proxidize connection, begin with the details generated in the dashboard. The setup guide shows where to copy the current proxy output for Per Proxy and Per GB products. Do not reuse a host, port, or username from an old screenshot or another access point.

Check these values in order:

  1. Hostname: Current managed endpoints use `pg.proxi.es` as the standard DNS hostname. If the client-to-proxy connection uses HTTPS, the HTTPS proxy instructions require `pg.proxi.es` rather than an IP because the certificate is issued for the hostname.
  2. Port: Static HTTP and HTTPS connections use port `20000`, while static SOCKS5 connections use `20002`. Per Proxy and Per GB configurations can also use dynamic ports, so the dashboard output and current connection details are authoritative.
  3. Protocol: Match the HTTP, HTTPS, or SOCKS5 type shown in the dashboard. Chrome does not support username-and-password authentication for SOCKS5. Use source-IP allowlisting for SOCKS5 in Chrome, or use an HTTP or HTTPS endpoint when username-and-password authentication is required.
  4. Authentication: A `407` or authentication failure returned by the proxy means the endpoint was reached. Recopy the current credentials, or confirm that the present public source IP is active on the allowlist. Keep proxy secrets out of screenshots and shared diagnostic logs; the guide to securing proxy credentials covers safer handling patterns.

For Per GB access points and Per Proxy pooling, use Test with cURL in the relevant dashboard view before testing the full browser workflow. For an individual Mobile Per Proxy route, use the current proxy output to test that endpoint with cURL. A generated username-and-password command may contain live credentials in its proxy URL. Do not paste it directly into an interactive shell that records history. Run it only through your organization's approved secret-handling process, and never share the credential-bearing command in tickets, chat, logs, or documentation. If the endpoint succeeds from the same device and network, compare the browser's effective host, port, protocol, and authentication mode with the working test.

Open Proxy Analytics and correlate the failure by TIME, DOMAIN, SOURCE IP, PROTOCOL, and the relevant PROXY NUMBER or ACCESS POINT. Enable ERROR TYPE and STATUS to see what Proxidize recorded. The PORT field is the destination port, usually `80` or `443`, not the browser-to-gateway port, so it cannot validate the endpoint port in the browser setting. If no matching row appears, confirm the product, data scope, time range, and filters. An absent row does not prove where the attempt stopped because the Help Center does not state that an attempt that never reached the gateway must be recorded.

Proxidize currently permits destination traffic on ports `80` and `443`. That limit applies after the client reaches the gateway. A blocked destination port or failed `CONNECT` request belongs to tunnel troubleshooting, not to an initial client-to-proxy connection failure.

Once the current endpoint passes the cURL test, return to the browser and change one configuration layer at a time. This keeps a host, port, authentication, or browser-policy problem from being mistaken for a proxy-network outage.

Fixes That Usually Do Not Address This Error

Avoid broad resets before you know which layer failed.

  • Clearing cookies and browser cache: Cookies are used after a connection exists. They cannot make an unreachable proxy port start listening.
  • Changing the destination URL repeatedly: If every request uses the same unreachable proxy, a different website follows the same broken first hop.
  • Disabling certificate verification: Certificate validation failures have their own browser errors. Turning off verification weakens security and does not repair DNS, a blocked port, TCP reachability, or a proxy-protocol mismatch.
  • Deleting every proxy or VPN setting: This can break a managed network and removes evidence about the controlling source.
  • Retrying without a limit: Repeated attempts do not repair a wrong hostname, closed port, or firewall rule.
  • Replacing the hostname with a cached IP: Provider hostnames can support routing, failover, and certificate validation. Use the output supplied for the product.

Frequently asked questions

Usually not. Chromium reports the error when it cannot establish a usable connection to the configured proxy. The destination website normally has not received the request at that stage.

The browsers may use different profiles, extensions, policies, PAC behavior, or system-integration paths. Check Chrome's effective proxy source and compare it with the working browser rather than assuming both use the same endpoint.

Yes. A VPN application can change routes, DNS, proxy settings, or a local proxy listener. Test one user-controlled component at a time and do not disable managed security software without authorization.

Ordinary browsing cache and cookies do not fix a proxy hostname or socket connection. A browser restart can apply a corrected configuration, but clearing website data does not repair the endpoint.

`ERR_PROXY_CONNECTION_FAILED` means Chromium could not establish a usable connection to the proxy itself. Common causes are proxy DNS and socket failures, but Chromium can also use the code for a blocked proxy port or an early HTTPS-proxy TLS failure. `ERR_TUNNEL_CONNECTION_FAILED` means the proxy connection progressed far enough to attempt a tunnel, but the tunnel was not established.

No. An HTTP `407 Proxy Authentication Required` response proves that the client reached a proxy and received an authentication challenge. Correct the authentication method or credentials instead of treating it as a hostname or port failure.

Ready to launch?

Proxies built for real operations.

For teams that depend on stability, not luck.