Skip to content
$ learn check-proxy

How to check if a proxy is working

A practical checklist, with curl commands you can copy.

A proxy that accepts a connection is not necessarily a proxy that works. It may be dead, slow, blocked, mislabelled or silently leaking your real IP. This guide shows the quickest ways to test one, how to read the results, and what the common failures mean.

What "working" means

For most uses, a proxy has to pass four checks:

  1. It is reachable. The TCP port accepts a connection.
  2. It speaks the protocol you expect. HTTP, HTTPS (CONNECT) or SOCKS5, and the credentials are accepted.
  3. It forwards traffic. A real request through it returns a real response.
  4. It behaves as you need. The exit IP is in the right country, latency is acceptable, and it does not reveal your IP.

Method 1: use an online proxy checker

The fastest way is the proxy checker. Paste one proxy or a whole list, one per line, as ip:port or ip:port:user:pass. For each entry it tries HTTP first and then SOCKS5, and reports whether the proxy is alive, the latency, the exit IP and country, and the anonymity level. The test requests go to a judge endpoint on our own server, so it works with any proxy that can reach us. It does not test SOCKS4 or UDP.

Lists in the web page are checked one by one, so very large lists take a while. For automation, the API accepts up to 100 proxies per bulk request; see the API docs.

Method 2: test with curl

curl is available on almost every system and shows the full picture. Request a service that echoes your IP and compare it with your own:

# your own IP
curl https://api.ipify.org

# through an HTTP proxy
curl --proxy http://203.0.113.10:8080 --max-time 10 https://api.ipify.org

# through a SOCKS5 proxy (proxy resolves DNS)
curl --proxy socks5h://203.0.113.10:1080 --max-time 10 https://api.ipify.org

# add credentials and print timing
curl --proxy http://user:[email protected]:8080 --max-time 10 \
     -o /dev/null -s -w "status=%{http_code} total=%{time_total}s\n" https://example.com

If the printed IP differs from your own, the proxy is forwarding traffic. Always set --max-time; dead proxies often hang until the default timeout. The addresses shown are documentation examples.

Method 3: test a single port by hand

If curl fails, check the layers separately. First, is the port open? Use the port scanner against the proxy IP and port, or run nc -vz 203.0.113.10 8080 locally. A closed or filtered port means the proxy is down or blocking you. Then try the other protocol: many lists label SOCKS5 proxies as HTTP, and the reverse.

Reading the results

SymptomLikely cause
Connection refusedNothing is listening; the proxy is dead or the port is wrong.
TimeoutProxy is offline, overloaded, or filtering your IP. Also common when the protocol is wrong.
407 Proxy Authentication RequiredIt needs a username and password, or yours is wrong.
403 or 502 from the proxyThe proxy refuses the target or could not reach it.
Works for HTTP, fails for HTTPSThe proxy does not allow CONNECT, or blocks port 443.
IP printed is your ownTraffic is not going through the proxy; check your client configuration.

Check latency and location

Latency in the checker is the time for a full request through the proxy, measured from our server in Vietnam, so it reflects that path and not yours. Use it to compare proxies against each other rather than as an absolute number. To verify location, paste the exit IP into the IP lookup. Geolocation databases are estimates, so a result that is off by a city or region is normal.

Check anonymity and reputation

A working proxy can still leak. The checker classifies anonymity as transparent, anonymous or elite from the forwarded headers it receives; proxy anonymity levels explains what that means and its limits. If you plan to use the IP against sites that block abuse, run it through the blacklist checker too, since a proxy IP that appears on several blocklists will get blocked quickly.

Checking many proxies at once

Testing a list by hand does not scale. Paste the whole list into the checker and sort by status and latency, then keep only the entries that are alive, fast enough and in the countries you need. Re-run the survivors a few minutes later: a proxy that passes twice is far more likely to stay up than one that passed once. If you test from your own scripts, run checks concurrently with a short timeout per proxy, and treat any timeout as a failure rather than retrying forever. Store the result with a timestamp so you know how stale each entry is.

Good habits

Published and last updated 2026-12-02