ERR_PROXY_CONNECTION_FAILED: what failed and how to fix it

ERR_PROXY_CONNECTION_FAILED means Chrome never got a working connection to the proxy. Tested causes, the errors it gets confused with, and the fix for each.

Terminal session beside the takeaway: Four mistakes, one error page. A wrong port, a name that doesn't resolve and an https:// URL on a plain port all print the same message. Only the NetLog tells them apart.
Quick summary · TL;DR
  1. If you never set up a proxy, turn the setting off before you try anything else. chrome://settings/system leads to your computer's proxy settings or names the extension in charge. Turning off a test extension cleared the error on the next reload, while clearing the cache did nothing, and neither did restarting Chrome with a dead proxy still saved.
  2. Ignore the "No Internet" heading. Chrome 157 printed it for a closed proxy port, so your connection may be fine. Try a phone on the same Wi-Fi with mobile data off before you touch your router.
  3. One message covered three different mistakes in the test. A wrong port, a name that doesn't resolve and an https:// URL on a plain port all gave ERR_PROXY_CONNECTION_FAILED, and only the NetLog, Chrome's network log, showed which one it was.
  4. A dead proxy doesn't always give this error. HTTPS sites behind a silent port got ERR_TIMED_OUT after 30 seconds, and a plain HTTP site through a silent proxy just kept waiting. A port that closes gave ERR_EMPTY_RESPONSE instead.
  5. If it's SOCKS5 with a password, Chrome can't do it. curl got a 200 with the same details, yet Chrome offered no login method at all and printed ERR_SOCKS_CONNECTION_FAILED. Use the provider's HTTP port instead.

If Chrome shows ERR_PROXY_CONNECTION_FAILED, the browser is set to use a proxy and couldn’t get a working connection to it, so your request never reached the site. Your internet is probably fine. If you never set up a proxy, turn the setting off. If you use one on purpose, check its host, its port and the http:// or socks5:// part of its address, which is called the scheme.

That error page doesn’t help much. Here’s what Chrome 157 printed on a closed proxy port:

No Internet
There is something wrong with the proxy server or the address is incorrect.
Try:
Contacting the system admin
Checking the proxy address
ERR_PROXY_CONNECTION_FAILED

Every browser result below comes from a run on 2026-11-05, on macOS 26.6.2, using headless Google Chrome 157.0.8103.38 and Chromium 149.0.7827.55 (headless shell) driven by Playwright 1.59.1. The test proxies and sites all sat on loopback, so nothing went out to a real proxy or a real site. Both builds agreed unless a row says otherwise. Windows and Linux weren’t tested.

What ERR_PROXY_CONNECTION_FAILED means

Look it up in Chromium’s net_error_list.h (checked 2026-11-05) and you’ll find error -130, described as a failure to create a connection to the proxy server. That covers two steps, resolving its name or connecting a socket. Failures during the CONNECT request itself are ruled out by the same comment, and those are a different error.

So “No Internet” is misleading. Chromium’s localized_error.cc (checked 2026-11-05) ties that heading to this error whether your connection is working or not, which can send you off to reboot a router that’s fine. The quick test takes a few seconds. Open a site on a phone on the same Wi-Fi with mobile data turned off. If it loads, stop looking at your network. Another browser on the same computer is a weaker test, since Edge and many others read the same system proxy setting and can fail the same way.

You’ll find the fallback row in Chromium’s proxy_fallback.cc (checked 2026-11-05). If you’re looking at the second error, the ERR_TUNNEL_CONNECTION_FAILED guide covers each CONNECT status.

A proxy you didn’t set

If you never chose a proxy, something chose one for you, and a VPN client or security tool that quit can leave its setting behind. Start at chrome://settings/system. Desktop Chrome keeps no proxy address of its own, so that page either links to “Open your computer’s proxy settings” or names the extension in charge. With a test extension aimed at a closed port, Chrome 157 showed the error, and that page said “Test Proxy Switcher is controlling this setting”. Once the extension was off, the next reload returned 200.

These are the places to look, and what to change. On a work or school computer, ask the admin first, because that network may need its proxy.

  • Windows. Settings, Network & internet, Proxy. Turn off “Use a proxy server” and “Use setup script”, each behind its Set up button. Then open the older Internet Options, Connections, LAN settings, and untick the proxy box there too.
  • macOS. System Settings, Network, your connection, Details, Proxies. Turn off every proxy listed.
  • Auto-detect. “Automatically detect settings” on the Windows page is WPAD, which probes the network for a PAC script, a small file that picks the proxy, so a proxy can arrive without anyone typing one. Turn it off if the error stays. A script that couldn’t be fetched went straight to the site in the test, while one naming a dead proxy gave this error, so the second kind is your suspect.
  • Android. In the Wi-Fi network’s advanced settings, set Proxy to None. More in setting up a proxy on Android and iPhone.
  • Chrome extensions. Turn off anything that manages a proxy or VPN at chrome://extensions, then reload.
  • VPN and security apps. Disconnect the VPN and retry, and remember your traffic leaves from your own address until you reconnect. If the app is already gone, the setting it left behind is on the Windows or macOS page above.
  • Work devices. chrome://policy lists settings your admin has forced, and those need the admin.

Reload after each change, and if a system change doesn’t take, quit Chrome and reopen it. The run didn’t change any system setting, so that part is untested. A setting that returns after you’ve turned it off points to something rewriting it, so look through your startup apps for a VPN or proxy tool. If you can’t name one, run a malware scan, since some trojans set this proxy themselves. That’s reasoning as well, not a test.

To see what Chrome is actually using, the Proxy tab of chrome://net-internals/#proxy lists effective settings from Chrome 158 on, going by its source (checked 2026-11-05). Chrome 157 only had two buttons there.

Environment variables are a false lead on a Mac. Chrome 157 ignored http_proxy, https_proxy and all_proxy pointed at a closed port and went direct. Chromium’s Linux docs do list them as a way to configure it, though that wasn’t run here. The Windows Settings and macOS paths come from Microsoft and Apple. The Internet Options path comes from answers on Microsoft’s Q&A forum and wasn’t run here.

Generic fixes, ranked

Nothing here ran on Windows. “The test” below means Chrome 157 on macOS with a dead proxy saved in a throwaway profile, and the rest is reasoned from what the error covers and from the vendors’ docs.

  1. Removing the proxy setting. The right call if you never wanted one.
  2. Turning off a VPN or extension. Likely when one of them set the proxy, and it worked for the test extension.
  3. Resetting Chrome’s settings. Google’s page lists extensions among what it resets, so it can help, but try step 2 first. It also resets your startup pages, pinned tabs, cookies and site data on every device you’re signed in to, while bookmarks and saved passwords stay.
  4. Flushing DNS. Only relevant to the proxy’s own hostname, and only if that lookup is what failed. Chrome’s “Clear host cache” and “Flush socket pools” changed nothing in the test, though the proxy there was an IP address, so no DNS lookup was involved.
  5. Resetting Winsock or TCP/IP. A last resort after a VPN uninstall, and it carries risk. The Winsock reset removes custom LSPs, add-ons to Windows networking that a tool may rely on. The TCP/IP reset needs an administrator and a restart and overwrites TCP/IP settings, so write down any fixed IP or DNS addresses first. Skip both on a work computer. A wrong proxy address stays wrong.
  6. Restarting Chrome. Same error in the test, because the setting was still there.
  7. Clearing cache and cookies. The failure comes before any site is contacted, and the test got the same error after clearing both.
  8. Reinstalling Chrome. Rarely worth the hour, because system proxy settings live outside the browser.

What causes it, tested

Now for proxies you did mean to use. Three mistakes produce the same message across these four rows. Chrome’s page can’t tell them apart, but a NetLog can, and that’s the column worth reading.

Proxy settingChrome and Chromium saidCause in the NetLog
Wrong port, nothing listening (http://, socks5:// or https://)ERR_PROXY_CONNECTION_FAILEDERR_CONNECTION_REFUSED
Host name that doesn’t resolve (http:// or socks5://)ERR_PROXY_CONNECTION_FAILEDERR_NAME_NOT_RESOLVED
https:// on a plain HTTP proxy portERR_PROXY_CONNECTION_FAILEDERR_SSL_PROTOCOL_ERROR
https:// on a plain port that closes the connectionERR_PROXY_CONNECTION_FAILEDERR_CONNECTION_CLOSED

The name failure was forced with --host-resolver-rules, so no DNS query left the machine. The source agrees with the table. Both http_proxy_connect_job.cc and socks_connect_job.cc (checked 2026-11-05) replace a failed connection to the proxy with this one code.

Ports are the easy thing to get wrong. Some providers run HTTP and SOCKS5 on separate ports, and a copied HOST:PORT from the wrong line looks perfectly valid. A wrong host that refuses the port lands on the first row too. One that never answers gives ERR_TIMED_OUT, which is in the next table.

Near-neighbour errors from a dead or mismatched proxy

A dead proxy doesn’t always give you this error. A proxy that accepts the connection and then misbehaves gets past the step this error covers, so you’ll see a different code and may never search for the right thing.

What the proxy port doesHTTPS sitePlain HTTP site
Address that never answers (unassigned 127.0.0.2)ERR_TIMED_OUT after 8 sNot run
Accepts, then says nothingERR_TIMED_OUT after 30 sNo error, still waiting when stopped at 40 s
Accepts, then closesERR_EMPTY_RESPONSEERR_EMPTY_RESPONSE
Accepts, then resetsERR_CONNECTION_RESETERR_CONNECTION_RESET
Is a web server, not a proxyERR_TUNNEL_CONNECTION_FAILEDThe web server’s own 404 page

In that last row, a wrong port can show you a real page from the wrong server, with no error at all.

The first row is as close as this test could get to a firewall dropping packets, and nc timed out against that address too. The 8 seconds fits the 8 to 30 second range in http_proxy_connect_job.cc, though a real remote proxy may land elsewhere in that range. The 30 seconds on a silent port matches the desktop tunnel timeout in the same file.

Getting the scheme wrong has its own set of errors:

SettingWhat the port really isError
socks5:// or socks4://Plain HTTP proxyERR_SOCKS_CONNECTION_FAILED
http://SOCKS5ERR_EMPTY_RESPONSE
http://TLS proxy, HTTPS siteERR_RESPONSE_HEADERS_TRUNCATED
https://TLS proxy with an untrusted certificateERR_PROXY_CERTIFICATE_INVALID
https://Silent portERR_TIMED_OUT after 8 s
foo://AnythingERR_NO_SUPPORTED_PROXIES

Treat the SOCKS5 row with care, since the test server simply closed on a greeting it couldn’t read and others may behave differently.

SOCKS5 with a password

This one is easy to trip over, because the same details can work everywhere else. Chrome can’t log in to a SOCKS5 proxy. Its first bytes to the proxy, captured in the test, were 05 01 00, which offers one login method, none. That matches socks5_client_socket.cc, and Chromium’s proxy docs (both checked 2026-11-05) say no authentication methods are supported for SOCKSv5.

Against a test proxy that only accepts a username and password, the same details gave this:

  • Chrome with socks5://HOST:PORT. ERR_SOCKS_CONNECTION_FAILED.
  • Chrome with socks5://USERNAME:PASSWORD@HOST:PORT. ERR_NO_SUPPORTED_PROXIES, and no connection to the proxy at all.
  • Playwright’s proxy option with a username. browserType.launch: Browser does not support socks5 proxy authentication.
  • curl 8.7.1 with socks5h://USERNAME:PASSWORD@HOST:PORT. HTTP 200.

So a curl test can pass while Chrome fails, and neither result means your password is wrong. Moving to the provider’s HTTP port is the fix. ERR_SOCKS_CONNECTION_FAILED isn’t always about the login, though. Chrome also printed it for the proxy’s failure replies 1 (general failure), 4 (host unreachable) and 5 (refused).

Every proxymint tier includes HTTP and SOCKS5 with a username and password, so in Chrome you’d choose HTTP. That goes for static ISP proxies in a browser profile as much as any other tier. SOCKS5 vs HTTP proxies covers when each one suits your client.

A proxy you did set

Copy the host, port and scheme straight from your provider’s dashboard, and compare them character by character with wherever you entered them, which is your system settings, an extension or your tool, since Chrome has no field of its own. Then look at how the setting reaches the browser.

The scheme. HOST:PORT with no scheme was read as http:// in the test. Use http:// for an HTTP proxy even when the sites are HTTPS, because they still travel inside a tunnel. An https:// proxy URL tells Chrome to open with TLS, which a plain port can’t answer. The Windows page asks only for an address and a port, so this comes up mostly in extensions and tools.

A firewall on the path. One that rejects the port looks like a closed port, and one that drops packets looks like the 127.0.0.2 row, so ERR_TIMED_OUT is your hint. No real firewall was tested here, so run the port check below from the machine that fails. With a local debugging proxy, HTTP Toolkit blames antivirus TLS scanning for this same error, which wasn’t tested here either.

The login in automation. Playwright printed page.goto: net::ERR_PROXY_CONNECTION_FAILED at https://site.example/ for the closed port. Use its separate username and password fields, which returned 200 from a test proxy that demanded a login, and see the Playwright proxy guide for the rest. Puppeteer and Selenium weren’t run here. They drive the same browser, so expect the same net:: strings.

A missing login looks different. With no credentials, a test proxy’s 407 gave ERR_INVALID_AUTH_CREDENTIALS in headless Chrome, which has no sign-in box to show. A normal Chrome window should ask you for the login, which this test couldn’t check. The headless shell was less consistent on HTTPS sites, returning the 407 as the response with one test proxy and waiting until the timeout with another. None of that was this error. The 407 guide picks up from there.

PAC scripts in headless jobs. Chrome 157 followed --proxy-pac-url, and the headless shell went straight to the site with the same flag, so a job on the shell may not be using the proxy you think it is. It’s worth checking your exit IP once.

Test the proxy outside Chrome

Two commands will sort out most of this, and neither changes your settings:

nc -vz -G 5 HOST PORT
curl -v --max-time 8 -x http://HOST:PORT https://example.com/

-G sets the connect timeout in the macOS build of nc, and other builds use -w. A closed port printed Connection refused from nc. On Windows, where nc usually isn’t installed, use Test-NetConnection HOST -Port PORT in PowerShell and look for TcpTestSucceeded : True. Type curl.exe there instead of curl, because Windows PowerShell 5.1 maps curl to another command. Both come from Microsoft’s docs, and those Windows commands weren’t run here.

Here’s how macOS curl 8.7.1 read the same ports:

Proxy portcurl printedExit
Closed(7) Failed to connect ... Couldn't connect to server7
Wants a login, none sent(56) CONNECT tunnel failed, response 40756
Closes after CONNECT(56) Proxy CONNECT aborted56
Resets after CONNECT(56) Recv failure: Connection reset by peer56
Says nothing(28) Connection timed out at the 8 s limit28
HTTP port, socks5h:// URL(97) Received invalid version in initial SOCKS5 response97
SOCKS5 login required, none sent(97) No authentication method was acceptable97

A 407 is good news here, since the port answered and you only need -U USERNAME:PASSWORD. More on these flags is in the curl proxy guide.

When curl works and Chrome doesn’t, ask Chrome. Start a capture at chrome://net-export, reproduce the error in another tab, stop, and open the file in the NetLog viewer. The test captured the same data with --log-net-log=FILE. The failed request’s events will show one of these:

  • TCP_CONNECT with ERR_CONNECTION_REFUSED
  • A resolver event with ERR_NAME_NOT_RESOLVED
  • SSL_CONNECT with ERR_SSL_PROTOCOL_ERROR

Skip counting errors across the whole file, because Chrome’s background requests fill it with unrelated -105 entries.

Fallback lists and bad proxies

A proxy list changes what you see. With --proxy-server="http://HOST:PORT,direct://", the form in Chromium’s docs, a dead proxy raised no error. The page came back 200 from the test site, directly. A PAC script returning PROXY HOST:PORT; DIRECT did the same in Chrome, and so did a PAC address that couldn’t be fetched.

Chromium also remembers failures in a list. proxy_list.cc (checked 2026-11-05) won’t retry a failed chain for 5 minutes by default, and the run backed that up:

  1. With the first proxy down, requests moved to the second.
  2. With the first proxy back up, new requests 10 seconds later still went to the second.
  3. At 5 minutes 10 seconds, new requests went back to the first proxy, in both builds.
  4. Clicking “Clear bad proxies” at chrome://net-internals/#proxy moved new requests to the first proxy straight away in Chrome 157.

A single proxy doesn’t work like that. With one proxy set and no list, the next page load after the port came up returned 200, so a reload is a fair test after a fix.

ERR_PROXY_CONNECTION_FAILED: what next

Take the first line that matches what you see:

  1. No proxy should be there. Remove it from the system setting, extension, VPN or PAC script that set it.
  2. nc or Test-NetConnection can’t connect or can’t resolve the name. Fix the host or port against your provider’s details. If they already match, the proxy may be down, so ask whoever runs it.
  3. The URL says https:// and the port is plain HTTP. Change it to http://, and if you’re seeing TLS errors in other clients too, that’s the same mistake.
  4. The proxy is SOCKS5 with a password. Use the provider’s HTTP port in Chrome.
  5. There’s a login in --proxy-server. Move it to your tool’s credential fields.
  6. curl works and Chrome doesn’t. Capture a NetLog and read the event before the -130.

And if you’ve got a different code, such as ERR_TIMED_OUT or ERR_EMPTY_RESPONSE, Chrome did reach something. The proxy error codes guide is a better place to go next than another ERR_PROXY_CONNECTION_FAILED checklist.

Frequently asked questions

Chrome is set to use a proxy and couldn't connect to it, so your request never reached the site. A closed port, an unresolvable name and an https:// URL on a plain port all produced it in a test on 2026-11-05. Underneath it's Chromium error -130, which the source describes as a failure resolving the proxy's name or connecting a socket to it.

Remove the proxy from your system settings, VPN, extension or PAC script if you never wanted one. A proxy you do want needs its host, port and scheme (the http:// part) checked against your provider's details. Clearing the cache won't help, because the failure comes before any site is contacted, and the error stayed after clearing it in the test.

Chromium's error page source ties that heading to this error, so you get it whatever your connection is doing. To check, open a site on a phone on the same Wi-Fi with mobile data off. If that loads, your connection is fine and the proxy setting is what needs fixing.

The difference is how far Chrome got. ERR_PROXY_CONNECTION_FAILED means the connection to the proxy failed, so no CONNECT request got answered, while ERR_TUNNEL_CONNECTION_FAILED means the proxy was reached and answered the CONNECT with something other than 200 or 407. Pointing http:// at a web server port gave the tunnel error in testing, because the server replied with a 404.

It can mean the proxy wants a password, which Chrome can't send. Chromium's docs say it supports no SOCKS5 authentication, and in the test it offered only the no-login method. The same error appeared for a socks5:// URL on an HTTP port and for failure replies from the SOCKS proxy, so check the port type too.

Yes, if it sets a proxy and that proxy stops answering. A VPN client that has quit can leave a setting pointing at a local port with nothing on it, and a closed port gives exactly this error. A test extension aimed at a closed port gave this error, and the next reload worked once it was off. No real VPN was tested, so check the system proxy setting after turning one off.

Researched and drafted with AI tools, then checked against our publishing rules before it went live: 20 outside links, 8 links to other proxymint pages, no prices and a fact-check pass against our product records. How we write.