Black Friday at Proxeta: +25% GB on every traffic purchase and 25% off ISP proxies · until Dec 3See plans

How to check a proxy: does it work, exit IP, location and speed

Published 16 min read

In short

Connect through the proxy and compare the exit IP with your own: if the address changed, the proxy works and accepted your login. Then check the country and city, the protocol and port, the speed compared with a direct connection, how the session behaves and what the site sees. A browser and curl are enough for all of it, while an online checker would need your login and password.

To check a proxy is to connect through it and see which address the request reached the site from. If the exit IP differs from yours, the proxy works and accepted your login. After that, you check what matters for your task: the location, the protocol and port, the speed, the session and what the site sees. Below is how to do it in a browser and with curl, why you should not give your login to online checkers, and what common errors mean. The commands are written for bash and zsh (macOS and Linux), and the data in the examples are placeholders.

What you need

Does the proxy connect and accept the login

In a browser. Set the proxy as described in how to set up a proxy in a browser and open any https:// page. With an HTTP proxy, the browser shows a sign-in window; if it keeps coming back, the login or password was not accepted. A SOCKS5 proxy with a password cannot be checked this way: Chrome and Edge cannot send a SOCKS5 login, and Firefox’s settings have no fields for it.

In curl:

curl -sS --max-time 30 -o /dev/null \
  -w 'proxy: %{http_connect}, site: %{http_code}\n' \
  --proxy http://proxy.example.invalid:8080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org

%{http_connect} is the proxy’s response code to the CONNECT request with which curl asks it to open a tunnel to the site, and %{http_code} is the site’s own response code. What the command may print:

  • proxy: 200, site: 200: the proxy opened the tunnel and the site answered;
  • curl: (56) CONNECT tunnel failed, response 407 and proxy: 407, site: 000: the proxy did not accept the login or password;
  • curl: (7) Failed to connect to ... and proxy: 000, site: 000: the proxy could not be reached.

For SOCKS5, change the address to socks5h://proxy.example.invalid:1080. There is no CONNECT request there, so success looks like proxy: 000, site: 200, and a wrong login like curl: (97) User was rejected by the SOCKS5 server (1 1).

Exit IP: did the address change

Compare two answers, without the proxy and through it:

curl -sS --max-time 30 -w '\n' https://api64.ipify.org

curl -sS --max-time 30 -w '\n' \
  --proxy http://proxy.example.invalid:8080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org

Each command prints the IP address the request reached api64.ipify.org from. Different addresses mean the proxy works. The same address means the request went around the proxy; the causes are in the errors section. In a browser it is the same: open https://api64.ipify.org without the proxy, then with the proxy in a new tab.

api64.ipify.org answers over both IPv4 and IPv6, so the exit address may turn out to be IPv6, and that is not an error. In Proxeta strings, the ipv4-true parameter in the login gives IPv4 only (the “IPv4 only” switch in the generator).

Location: country and city

The country and city of an IP come from geolocation databases. Through the proxy, open a page that shows your IP’s location, or enter the exit address into a geolocation service.

  • Compare the country first. The city is one database’s estimate, and different databases may show different cities for the same address.
  • Check on the site you need. If the site shows a region itself, for example through its currency, language or delivery terms, that is the result that matters for your task.

In Proxeta strings, the location is written in the login, for example country-us. If the country does not match, check that the login was copied in full: with an unknown code, an extra parameter or a broken order, the gateway may refuse the sign-in or give an IP from the wrong location.

Protocol and port: HTTP or SOCKS5

A proxy often has two ports: HTTP on one and SOCKS5 on the other. The scheme in the proxy address must match the port’s protocol:

curl -sS --max-time 30 -w '\n' \
  --proxy http://proxy.example.invalid:8080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org

curl -sS --max-time 30 -w '\n' \
  --proxy socks5h://proxy.example.invalid:1080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org

Both commands should print an IP. If the scheme and the port are mixed up, the proxy does not understand the request, and the connection breaks or hangs. Do not write https:// in the address of an ordinary HTTP proxy: this scheme means a TLS connection to the proxy itself, while you need http://, even when the site opens over https://. How the protocols differ is covered in HTTP or SOCKS5.

Speed: measuring through the proxy and direct

curl prints the timing of each stage of a request with the -w flag. Run the command three times through the proxy:

for i in 1 2 3; do
  curl -sS --max-time 30 -o /dev/null \
    -w 'connect=%{time_connect} tls=%{time_appconnect} first_byte=%{time_starttransfer} total=%{time_total}\n' \
    --proxy http://proxy.example.invalid:8080 \
    --proxy-user 'demo-login:demo-password' \
    https://api64.ipify.org
done

For the direct measurement, remove the --proxy and --proxy-user lines and run it three more times. Each run prints four numbers, in seconds from the start of the request:

FieldWhat it is, per the curl documentationWhat it means through a proxy
connect (time_connect)The TCP connection to the server or proxy was completedThe time to reach the proxy itself
tls (time_appconnect)The TLS handshake with the site was completedPlus the time the proxy took to connect to the site, and the handshake through the tunnel
first_byte (time_starttransfer)The first byte of the response was receivedPlus the site’s response time
total (time_total)The whole requestThe total

The tls field is filled only for https:// sites. A large connect means a long path to the proxy itself, and a large gap between connect and tls means a slow connection from the proxy to the site.

For the measurement to mean something:

  • Measure on the site you need instead of api64.ipify.org: a speed test page takes a different route.
  • Make several runs and look at the typical value. With a rotation string the spread is wider, since each run may leave through a different address.
  • Do not run a load test. A few requests are enough, and the Acceptable Use Policy forbids overloading the systems of Proxeta and its providers.

Stability and session

Stability shows only over a period of work. The loop below prints the time and the exit IP, or a curl error, once a minute:

for i in $(seq 1 10); do
  printf '%s ' "$(date +%H:%M:%S)"
  curl -sS --max-time 30 -w '\n' \
    --proxy http://proxy.example.invalid:8080 \
    --proxy-user 'demo-login:demo-password' \
    https://api64.ipify.org
  sleep 60
done
  • Sticky session. Every line shows the same address. If the session drops, the address may change, and your workflow should survive that.
  • Rotation. Each curl run is a new connection, so the address may change from line to line.
  • Errors. A single timeout is a reason to repeat the request; a series of errors in a row is a reason to check your network, the string and the site.

Which mode suits which task is covered in sticky session or rotation.

What the site sees: headers, DNS and WebRTC

A proxy changes the address, but the site receives other information too. How this works is explained in what is a proxy server; here is how to check it.

Request headers

For an https:// site, the proxy opens a tunnel and can neither read nor add headers inside it: the site receives what curl sent, and you can see that in the curl -v output.

For an http:// site, the proxy receives the whole request and may add headers, for example Via or X-Forwarded-For with your IP. You can only see them from the site’s side, on your own server or on a page that returns the request headers and that you trust:

curl -sS --max-time 30 \
  --proxy http://proxy.example.invalid:8080 \
  --proxy-user 'demo-login:demo-password' \
  http://echo.example.invalid/headers

The echo.example.invalid address is a placeholder; put your own page there. If the response contains your own IP, the proxy passed it to the site. Proxies are labeled “transparent”, “anonymous” or “elite” by these headers, and online checkers usually base their “anonymity level” on them; none of these are standard terms.

DNS: who resolves the site name

An HTTP proxy receives the site name in the request itself and finds its address on its own, while with SOCKS5 it depends on the program. In curl, the -v output shows it:

curl -v -sS --max-time 30 -o /dev/null \
  --proxy socks5h://proxy.example.invalid:1080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org 2>&1 | grep 'SOCKS5 connect'

With the socks5h:// scheme, curl prints SOCKS5 connect to api64.ipify.org:443 (remotely resolved): the proxy resolved the name. With socks5://, the line shows an IP address and (locally resolved): your device resolved the name, and your DNS provider sees which sites you open. According to the Chromium documentation, Chrome always leaves name resolution to a SOCKS5 proxy, and Firefox has the “Proxy DNS when using SOCKS v5” option for it.

WebRTC in the browser

Calls and video chats on websites run on WebRTC. Under RFC 8828, if the device has direct internet access, WebRTC connectivity checks may go around the configured proxy and reveal the device’s public IP, while WebRTC data itself mostly travels over UDP, which an HTTP proxy does not carry. So a WebRTC test page may show more than the proxy’s address; what exactly depends on the browser and its settings. More in how to set up a proxy in a browser.

Online proxy checkers: what they show and what you risk

An online checker connects to your proxy from its own server and shows whether the proxy accepts a connection and the login, which exit IP it saw, where that IP is according to its geolocation database, and the delay from the checker to the proxy. What it cannot show:

  • Your network. If the proxy works for the checker but not for you, your network, firewall or antivirus may be blocking the port.
  • Your program. Whether your browser or script actually goes through the proxy, and where its DNS requests and WebRTC go, can only be seen on your device.
  • Speed for you and on the site you need. The checker measures its own route.
  • Your address under rotation. The checker gets its own IP from the pool, and your program gets another.

The main risk is your credentials: once a checker has your login and password, it can keep using the proxy in your name, sending traffic through it and spending your balance. For Proxeta residential and mobile proxies, the password is the same in every string of the account, so it opens all of them, not one. Check the proxy from your own device: curl and the browser send the login only to the proxy itself. If you have already entered your details on a third-party site, contact support: the Acceptable Use Policy asks you to report compromised credentials immediately. It also forbids testing credentials that are not yours, so check only proxies you are entitled to use.

Common errors and what they mean

ErrorLikely causeWhat to do
407 Proxy Authentication Required; in curl (56) CONNECT tunnel failed, response 407; the browser’s sign-in window keeps coming backThe proxy did not accept the login or passwordCopy the login again in full (it holds the location and session), with no spaces at either end, and the password from the same string
(97) User was rejected by the SOCKS5 server (1 1).The SOCKS5 proxy did not accept the login or passwordThe same as for 407
(97) No authentication method was acceptable.No login was sent, and the proxy does not let anyone in without onePass the login: --proxy-user in curl, the login fields in the program
ERR_PROXY_CONNECTION_FAILED in Chrome; “The proxy server is refusing connections” in Firefox; in curl (7) ... Couldn't connect to serverNo connection to the proxy was establishedCheck the host, the port, and whether your network, firewall or antivirus blocks the port
ERR_SOCKS_CONNECTION_FAILED in ChromeFor example, SOCKS5 with a password: Chrome cannot send a SOCKS5 loginUse the HTTP port instead of SOCKS5
ERR_TUNNEL_CONNECTION_FAILED in Chrome; in curl (56) CONNECT tunnel failed, response 502 or (97) Can't complete SOCKS5 connection to ...The proxy let you in but did not open a connection to the siteCheck the site address; try again later or with another string
(28) ... timed out after ... milliseconds; the page keeps loadingNo response came within the allowed timeCheck your network, whether the site is up and whether the scheme matches the port
(60) SSL certificate problem; a browser certificate warningThe site’s certificate failed verificationDo not continue and do not turn verification off
The IP through the proxy is the same as yoursThe request went around the proxyCheck where the program takes its proxy from (see below)

The curl messages are from version 8.7.1 (other versions may word them differently), the number in parentheses is curl’s exit code, and the Chrome errors are from Chrome 158. Other curl errors are covered in curl with a proxy, and browser errors in how to set up a proxy in a browser.

  • SOCKS5. Under RFC 1929, any status in reply to the login other than 0 is a refusal, and No authentication method was acceptable. means, under RFC 1928, that none of the sign-in methods the client offered suits the server. The number at the end of Can't complete SOCKS5 connection to ... is the RFC 1928 reply code, for example 2 for a connection not allowed by the server’s rules, 4 for host unreachable and 5 for connection refused.
  • ERR_PROXY_CONNECTION_FAILED, as described in the Chromium source, is a failure to resolve the proxy’s name or to connect to it, not a failure of the CONNECT request, so the login is not the cause.
  • Certificate. Under RFC 9110 (section 4.3.4), if a certificate is not valid for the site, the browser must either ask you or end the connection, and a connection without verification is open to attack. Through a proxy, such a warning may mean that someone is substituting the connection to the site: do not turn verification off with the -k flag.
  • The IP is the same as yours. The program may not use the system settings, or may override them with its own, an extension or an organization’s policy. In curl, the NO_PROXY variable turns the proxy off for the sites it lists even when the proxy is set with the --proxy flag, and for http:// sites curl takes the proxy only from http_proxy in lower case, not from HTTP_PROXY.

You can check what curl actually connected to like this:

curl -sS --max-time 30 -o /dev/null \
  -w 'connected to %{remote_ip} port %{remote_port}\n' \
  --proxy http://proxy.example.invalid:8080 \
  --proxy-user 'demo-login:demo-password' \
  https://api64.ipify.org

If the request went through the proxy, this shows the proxy’s address and port, not the site’s.

Proxy check checklist

CheckHowWhat a pass looks like
Connection and logincurl with %{http_connect}, or a page in the browserproxy: 200, site: 200, or a page with no repeated sign-in window
Exit IPapi64.ipify.org with and without the proxyThe addresses differ
LocationA geolocation service and the site you needThe country you chose; the city, allowing for database differences
Protocol and portThe same commands with http:// and socks5h://Both print an IP
SpeedThree measurements through the proxy and three direct, on the site you needThe difference is clear, and you can see which stage takes the time
SessionA loop once a minuteSticky session: one IP; rotation: different IPs
HeadersA page that returns the request headers, over http://Your IP is not in the headers
DNScurl -v with socks5h://(remotely resolved)
Traffic going around the proxyThe IP with and without the proxy, %{remote_ip} in curlThe proxy’s address, not yours

How the examples were run

The commands were run on November 26, 2026, on macOS, through local test HTTP and SOCKS5 proxies with a login and password, not through the Proxeta gateway: this verifies the behavior of curl and the browser, but not the exit IPs, locations and speed of a real network.

How to check Proxeta proxies

  • Where to get the string. Residential and mobile proxies come as a host:port:login:password string from the “Generate proxies” section of the Dashboard and from the @proxetabot bot; the bot issues only sticky session strings.
  • Ports and sign-in. HTTP runs on port 8080 and SOCKS5 on port 1080, with the same login and password. Sign-in is by login and password only: there is no IP binding or IP allowlist.
  • UDP is not carried, SOCKS5 included, so programs and checks that need it will not work through the gateway.
  • The session is chosen when you generate strings, in the “Session type” field: “Sticky session” (the login contains -sid-) or “Rotation”. The length of a sticky session cannot be set, so check the IP again after reconnecting.
  • ISP proxies. The IP, port, login and password are in the order on the “My proxies” tab; they connect over HTTP and SOCKS5, and the checks are the same. More in ISP proxies.

Do not publish proxy strings or curl -v output: they contain your password. How the login is built is covered in proxy string format.

Frequently asked questions

Is it safe to check a proxy on an online checker?

The checker receives your login and password and can then use the proxy in your name, including spending your traffic. For Proxeta residential and mobile proxies, the password is the same in every string of the account. Check the proxy from your own device, and if you have already entered your details on a third-party site, contact support.

Why does the check show a different city?

The city of an IP comes from geolocation databases, and their data differ. Compare the country first. If even the country does not match, check that the login was copied in full: in Proxeta strings, the location is written in the login.

Why does the IP change between checks?

Most likely the string was generated in rotation mode: each new connection may get a new IP, and every curl run opens a new connection, as the browser also does from time to time. If the address must stay, generate a string with the “Sticky session” session type: it keeps the same IP for as long as possible, until the provider drops the connection.

What does a 407 error mean?

407 Proxy Authentication Required means the proxy requires a login and did not accept yours. Under RFC 9110, the proxy sends a Proxy-Authenticate header with this response, and the client may repeat the request with other credentials. Copy the login again in full, with no spaces at the start or end, and the password from the same string.

Why is my proxy slow?

Through a proxy, a request travels a longer path: from you to the proxy and, with gateways that have a pool of addresses, on through the node with the exit IP before it reaches the site. Compare several measurements through the proxy and direct, on the site you need: they show where the time goes, on the connection to the proxy or from the proxy to the site.

How do I check a SOCKS5 proxy?

With curl, using the socks5h:// scheme and the SOCKS5 port, which is 1080 at Proxeta: curl --proxy socks5h://host:1080 --proxy-user 'login:password' https://api64.ipify.org should print the exit IP. A password-protected SOCKS5 proxy cannot be checked in Chrome or Edge: they cannot send a SOCKS5 login.

What if the IP through the proxy is the same as mine?

The request went around the proxy: the program does not use the system settings, another setting overrides the proxy, or an environment variable such as NO_PROXY turns it off. Check where the program takes its proxy from, then repeat the check in a new tab or with a new run.

Read next

All articles