How to test a proxy, in one sentence: confirm it connects and authenticates, confirm the exit IP and location are the ones you paid for, measure latency several times against a direct baseline, check that it hides your real IP and DNS, and then try it on the actual site you care about. The fastest way to do the first five checks is to paste the proxy into a free proxy checker; the rest of this guide shows how to do every step by hand, what each result means, and what to do when one fails.
Testing matters because a proxy that "works" in a browser can still be slow, leak your real location, sit on a blocklist, or drop out every few hours. Ten minutes of testing before you point a scraper, an ad-verification job or a team of social media managers at it is far cheaper than debugging a failed campaign afterwards.
Before you start: what you need
Gather these four things first. Most "my proxy doesn't work" tickets turn out to be one of them being wrong.
- The full proxy string — host, port, and if required username and password. Common formats are
IP:PORTandIP:PORT:USER:PASS. - The protocol — HTTP(S) or SOCKS5. Sending HTTP traffic to a SOCKS5 port (or the reverse) fails instantly. If you're unsure which you have, our guide to SOCKS5 vs HTTP proxies explains the difference.
- Your real IP — open What is my IP with the proxy off and note the address and location. Every later test compares against this baseline.
- What you bought — country, proxy type (dedicated IPv4, residential, ISP, mobile) and whether the IP is meant to rotate or stay fixed.
Some providers authenticate by your source IP instead of credentials. If you test from a different network than the one you whitelisted — a laptop on mobile data, a cloud server — the proxy will refuse you even though nothing is broken.
The 8 tests at a glance
Each test answers one question. Run them in order, because a later test is meaningless if an earlier one failed.
| # | Test | Question it answers | Pass looks like |
|---|---|---|---|
| 1 | Connectivity & auth | Can I reach it and log in? | HTTP 200 through the proxy |
| 2 | Exit IP | Does my traffic leave from a different IP? | IP echo shows the proxy's IP, not yours |
| 3 | Geolocation | Is the IP in the country I paid for? | Two or more geo databases agree on country |
| 4 | Latency & speed | Is it fast enough for my job? | Stable median, reasonable overhead vs direct |
| 5 | Anonymity level | Does it reveal that I'm using a proxy, or who I am? | Elite: no Via / X-Forwarded-For headers |
| 6 | Leaks | Can DNS, WebRTC or browser settings expose me? | Only proxy IP and proxy-side DNS visible |
| 7 | Reputation & target site | Will my real target accept this IP? | Normal pages, no instant CAPTCHA or 403 |
| 8 | Stability | Does it keep working over hours and days? | Success rate and latency stay flat over time |
Test 1: Check if the proxy is working at all
Start with the simplest possible request. With curl, which ships with Windows 10+, macOS and every Linux distro:
# HTTP proxy with username and password
curl -x http://USER:PASS@203.0.113.24:8080 -I https://example.com
# SOCKS5 proxy (note the h: DNS is resolved by the proxy)
curl -x socks5h://USER:PASS@203.0.113.24:1080 -I https://example.com
A line like HTTP/2 200 means the proxy accepted you and fetched the page. If not, the error tells you exactly where to look:
| Error | What it means | Fix |
|---|---|---|
407 Proxy Authentication Required | Proxy reached, credentials missing or wrong | Re-copy user/pass; URL-encode special characters like @ or : in passwords |
Connection refused | Nothing is listening on that port, or your IP isn't whitelisted | Check the port, the protocol, and your IP whitelist |
Connection timed out | Packets are dropped: firewall, wrong host, or proxy offline | Try another network; check corporate firewalls; contact the provider |
SOCKS: failed / unsupported | Protocol mismatch | Switch between http:// and socks5h:// |
502 / 503 from the proxy | Proxy is up but can't reach the target | Retry with a different target to isolate the cause |
Test 2: Confirm the exit IP actually changed
A proxy can connect fine and still not be used — a misconfigured app, a browser extension that only covers some tabs, or a system proxy that your script ignores. So ask a neutral server which IP it sees:
curl https://api.ipify.org # your real IP
curl -x http://USER:PASS@203.0.113.24:8080 https://api.ipify.org # should differ
In a browser, open our IP lookup page once with the proxy off and once with it on. The two addresses must be different, and the second should be the IP (or one of the IPs) you were given.
Rotating vs static IPs
Run the exit-IP request five times in a row. A dedicated IPv4 or ISP proxy should return the same address every time. A rotating residential gateway should return a different one on most requests — unless you requested a sticky session, in which case the IP should hold for the session window. If the behaviour doesn't match what you bought, the settings in your username or port (which often encode country and session) are probably wrong.
Test 3: Verify the location matches what you bought
Geo-targeting is often the reason you bought a proxy in the first place — local search results, regional pricing, ad checks. Look the exit IP up in at least two different IP geolocation databases.
- Country should agree across databases. If it doesn't, the IP block may have recently moved; ask your provider.
- City often disagrees, and that's normal. Geolocation databases are estimates built from registration data and measurements, and city-level accuracy varies a lot — especially for mobile and residential IPs.
- The target site's opinion is what counts. If a site shows you its local currency, language or store, that's the strongest confirmation you'll get.
Test 4: Run a proxy speed test the right way
A single page load tells you almost nothing about speed. Networks are noisy, so measure several times and look at the median. curl can break a request into phases:
curl -x http://USER:PASS@203.0.113.24:8080 -o /dev/null -s \
-w "connect=%{time_connect}s ttfb=%{time_starttransfer}s total=%{time_total}s\n" \
https://example.com
Run it 10 times, and run the same command without -x to get your direct baseline. On Windows PowerShell use curl.exe and -o NUL.
How to read the numbers
- Overhead, not absolute speed. A proxy always adds a hop. Compare the proxy median to the direct median; the difference is what the proxy costs you.
- Distance dominates. A proxy in Germany will be slower from Australia than from Poland. Test from where your workload actually runs — often a server, not your laptop.
- Spread matters as much as the median. Ten results between 0.2 and 0.3 seconds beat ten results averaging 0.25 seconds but ranging from 0.1 to 2 seconds. High variance breaks timeouts.
- Proxy types differ by design. Datacenter and ISP IPs sit on fast server networks; residential and mobile traffic travels over real home and cellular connections, so it's naturally slower and more variable. Our proxy type comparison covers the trade-offs.
For bandwidth-heavy jobs, also download a larger file (a few MB) through the proxy and divide the size by time_total. Latency and throughput are different problems: a proxy can answer quickly but move bulk data slowly.
Test 5: Proxy anonymity test — transparent, anonymous or elite
Anonymity level describes what the proxy adds to your requests. Ask a header-echo service (any endpoint that returns the request headers it received) what it sees through the proxy, and look for these headers:
Transparent
Forwards your real IP in headers such as X-Forwarded-For or Forwarded. Fine for caching, useless for privacy or geo-testing.
Anonymous
Hides your IP but announces itself with Via or Proxy-Connection. Sites know a proxy is in use.
Elite (high anonymity)
Adds no identifying headers. To the site it looks like a normal visitor from the proxy IP. This is what you want.
Paid private proxies should be elite. Free public proxies are frequently transparent, which is one of several reasons not to use them for anything sensitive. The proxy checker reports this level automatically for every proxy you test.
Test 6: Check for DNS, WebRTC and browser leaks
An elite proxy can still be betrayed by the software around it.
socks5:// many clients resolve the hostname locally, so your ISP still sees every domain. socks5h:// hands the hostname to the proxy instead.DNS leaks
If your client resolves hostnames itself, your ISP's DNS server (and anyone watching it) sees every domain you visit, and the DNS resolver's location can contradict your proxy's location. With SOCKS5, use socks5h:// in curl and enable "proxy DNS when using SOCKS v5" in browsers. HTTP proxies resolve the hostname on the proxy side for normal requests.
WebRTC leaks
Browsers use WebRTC for calls and video, and it can reveal local and public IP addresses outside the proxy tunnel. Open a WebRTC leak-test page with the proxy on: if your real public IP appears, disable or restrict WebRTC in the browser, or use a browser profile tool that handles it.
Fingerprint mismatches
A US proxy combined with a browser that reports an Asian time zone and a non-English language header is a strong signal that something is off. Align time zone, language and locale with the proxy's country when the task involves logging in to accounts.
Run leak tests in the exact browser profile, app or script you'll use in production. A clean result in Chrome says nothing about your scraper's HTTP library.
Test 7: Check reputation and test on your real target
Every technical check can pass and the proxy can still fail at its job, because the websites you care about make their own decisions about IP reputation.
- Blocklists: look the IP up on a couple of public spam and abuse blocklists. A listing isn't always fatal, but it explains CAPTCHAs.
- ASN type: lookup tools show whether an IP belongs to a hosting company or a consumer ISP. Strict sites treat hosting ranges more suspiciously — which is when residential or ISP proxies earn their price.
- The real request: load 20–50 pages from your actual target at the pace you plan to run. Count 200s, 403s, 429s, CAPTCHAs and empty responses. That ratio is the only success rate that matters for you.
If the target pushes back, the fix is usually pacing and request quality rather than "a better proxy". Our guide to web scraping without getting blocked goes through it in detail.
Test 8: Monitor stability over time
Proxies don't fail on day one; they degrade. IPs get flagged, routes change, a provider has a bad night. A tiny loop that logs one request a minute is enough to see it:
#!/usr/bin/env bash
PROXY="http://USER:PASS@203.0.113.24:8080"
while true; do
r=$(curl -x "$PROXY" -o /dev/null -s -m 15 -w "%{http_code} %{time_total}" https://example.com)
echo "$(date -u +%FT%TZ) $r" >> proxy-health.log
sleep 60
done
After a day, count non-200 lines and look at how time_total moves by hour. Anything above a few percent failures, or latency that doubles at certain times, deserves a ticket to your provider — and a good provider will publish an uptime commitment you can hold them to.
How to record results, avoid mistakes and finish
Keep one row per proxy. It makes comparisons between providers honest and makes support conversations short.
| Field | Example | Good | Investigate |
|---|---|---|---|
| Status / auth | 200 OK | 200 on every try | Any 407, refused or timeout |
| Exit IP | 203.0.113.24 | Matches the delivered IP | Equals your real IP |
| Country (2 DBs) | US / US | Both agree with the order | Databases disagree on country |
| Median TTFB, 10 runs | 0.18 s (direct 0.09 s) | Low, steady overhead | Wide spread or frequent spikes |
| Anonymity | Elite | Elite | Transparent |
| Leaks | None | Only proxy IP + proxy DNS | Real IP via DNS or WebRTC |
| Target success | 48/50 | Near 100% at your pace | CAPTCHAs on the first requests |
| 24 h failure rate | 0.4% | Very low and flat | Clusters of failures |
Common mistakes and a final checklist
- Testing once. One slow or fast result is noise. Always repeat.
- Testing from the wrong place. Your laptop's results don't predict your server's.
- Using
socks5://instead ofsocks5h://and leaking every DNS lookup. - Trusting a city label. Treat city-level geolocation as a hint, not a fact.
- Blaming the proxy for the setup. Browser WebRTC, time zone and request rate cause as many blocks as bad IPs.
- Using free public proxies for logins. You don't know who runs them or what they log.
- Baseline
Note your real IP and location on /my-ip.
- Quick screen
Paste your list into the proxy checker to drop dead or transparent proxies.
- Verify identity
Confirm exit IP, rotation behaviour and country with curl and two geo lookups.
- Measure
Ten timed requests through the proxy and ten direct; compare medians and spread.
- Leak-proof
Check DNS, WebRTC and locale in the exact client you'll use.
- Real-world trial
Run a small batch against your target at production pace and log a day of health checks.
Frequently asked questions
How do I check if my proxy is working?
Send a request through it and compare the IP a neutral site sees with your real IP. With curl, run curl -x http://user:pass@host:port https://api.ipify.org and check that the result differs from your normal IP. In a browser, open an IP lookup page with the proxy off and on. A free online proxy checker can test many proxies at once.
What is a good proxy speed?
There is no universal number, because distance to the proxy and to the target dominate. Judge overhead instead: measure the median time to first byte over about ten requests through the proxy and ten direct, then compare. A steady, modest overhead is good. Large spikes or a wide spread between runs matter more than a single fast result.
What does elite proxy mean?
An elite, or high-anonymity, proxy forwards your request without adding headers that reveal your real IP or that a proxy is being used, such as X-Forwarded-For or Via. The destination simply sees a visitor from the proxy's IP. Transparent proxies pass your real IP along, and anonymous proxies hide it but still announce themselves.
How do I test a proxy for DNS leaks?
Open a DNS leak-test website with the proxy enabled and look at which DNS resolvers it reports. If they belong to your own ISP or country, DNS lookups are bypassing the proxy. For SOCKS5, switch to socks5h in curl or enable remote DNS in your browser so the proxy resolves hostnames instead of your device.
Why does my proxy show the wrong city?
IP geolocation databases estimate location from registration records and network measurements, and they often disagree at city level, especially for residential and mobile IPs. Check the country in two or more databases. If the country is correct and your target site shows local content, the proxy is usually fine even if one database names a different city.
Can a proxy work in the browser but fail in my script?
Yes. Browsers and scripts are configured separately, and many HTTP libraries ignore system proxy settings. Scripts also have different TLS and header fingerprints, so a target site may accept the browser and block the script. Always confirm the exit IP from inside the script itself and test against your real target at production speed.
Test free, then upgrade to proxies that pass
Run any HTTP or SOCKS5 proxy through our free checker, then get dedicated IPv4 or residential proxies with instant delivery and a 99.9% uptime SLA.
Check your proxies free →