How to See Your Public IP After Connecting to a Proxy
A practical guide to reading your public IP after a proxy connection: browser checks, command line checks, what the result means and why it sometimes looks wrong.
9 min readUpdated Nov 13, 2026By XPASS Editorial Team

After you connect to a proxy, the single most useful question is: what address do other servers see? That address is your public IP as it appears from the outside. If it matches the proxy network, your traffic took the route you intended. If it still matches your own connection, something is bypassing the proxy. Reading this one value correctly saves a lot of confusion later.
This guide explains what a public IP is, how to check it in a browser and on the command line, how to read the result including location and IPv6, and why the answer sometimes surprises people. It describes proxy use in general terms. Use proxies lawfully, follow the terms of the services you visit and respect local law. For what a specific plan includes, look at the plan page.
Public IP versus private IP
Your device usually has a private address assigned inside your home, office or mobile network. Addresses such as those starting with 192.168 or 10 are private and only meaningful inside that network. When your traffic goes out to the internet, a router performs address translation and the outside world sees a public address instead.
When you use a proxy, there is one more step. Your software connects to the proxy, and the proxy opens its own connection to the destination. The destination sees the address of the proxy server side of that connection, not your public address. That is the whole point of the check. You are asking a third-party page, "which address did this request come from", and the answer tells you which hop the destination saw.
Notice what the check does not show. It does not show the address your device uses to reach the proxy, and it does not describe what happens on the first leg of the journey. It shows the final hop as seen from the destination. The article on confirming that a browser is really using a proxy explains how to make sure the browser itself is sending traffic that way.

Step 1: Record your address without the proxy
Turn the proxy off and open an address-echo page or run an address-echo request. Write down the address. If both IPv4 and IPv6 are shown, write down both. This baseline lets you tell, in the next step, whether something changed.
Make sure no VPN or other proxy tool is running at this moment. If you are working on a server, run the baseline from the server so it reflects what that machine presents to the world.
Step 2: Check through the proxy in a browser
Enable the proxy in the browser, reload the same page and read the address.
- If the address is different and belongs to the proxy network, the route is working for this page.
- If the address is identical to the baseline, the page bypassed the proxy. Look at the proxy mode, the host and port, and the bypass list.
- If the page fails, look at the symptom. A timeout, a reset connection or a 407 response each means something different, as described in the related setup guide on IP whitelist authentication for proxies.
Use an HTTPS version of the page if possible, since most real traffic is HTTPS. HTTPS requests use a tunnel through an HTTP proxy, as the MDN article on proxy servers and tunneling explains, and testing the same path as real traffic gives more reliable evidence.
Step 3: Check through the proxy from the command line
Command line tools let you check without a browser, which is useful on servers and in scripts. Most tools accept a proxy option or read standard environment variables. Provide the proxy in the form the tool expects, for example an http:// address for an HTTP proxy or a socks5:// address for a SOCKS5 proxy, along with credentials if your method requires them. Then request an address-echo page and print the response.
A few tips make this reliable.
- Run the same request twice, once without and once with the proxy, and compare the output.
- Use the URL of an address-echo service that returns plain text, so the output is only the address.
- If the tool has a verbose mode, use it once to confirm that it connected to the proxy host and port you expected.
- Be aware that some tools decide per protocol. A tool may use the proxy for HTTPS but not HTTP, or the other way round, depending on which variable you set.
- If you use SOCKS5, check whether the tool resolves names locally or through the proxy; the protocol allows both, as specified in RFC 1928, and tools differ in naming and defaults.
Step 4: Read the result carefully
Once you have an address, you can look at several things.
The address itself
This is the strongest evidence. If it differs from your baseline in the way you expect, the route works. If you have been given a list of addresses or a range by your provider, you can compare, though many products do not publish such lists, so do not assume you can.
The reported location
Many echo pages also show a country or city, plus a network or organization name. These come from databases that map addresses to places. They are useful hints, but they are often approximate, they can lag behind changes and different databases can disagree. If the country matters for your work, compare at least two services and treat a disagreement as a reason to be cautious rather than a verdict. The follow-up article on changing proxy country without changing application code covers how to handle country selection in a configuration.
The network name
The organization or network name shown can tell you whether the address belongs to a hosting company, an internet provider or a mobile network. This is informational. It does not tell you how a particular website will treat that traffic.
IPv4 versus IPv6
If your device has both IPv4 and IPv6, the echo page may show either, depending on which path the request took. A proxy may support only IPv4 on its outside connection or may support both. If you see an IPv6 address that is clearly your own provider range while using a proxy, one possibility is that the request bypassed the proxy through IPv6 while the proxy handled IPv4. Check with both an IPv4-only and a dual-stack echo page when this matters, and read the plan page for what the product supports.
Step 5: Repeat the check over time
A single check shows one moment. Repeat when something changes: a new network, a new proxy endpoint, a new configuration, a software update or a change in how the product assigns addresses. Depending on the product, the address may remain constant for some time or may change per request or session. Do not assume either behavior; test it, and read the plan page for the intended behavior.
If you rely on a stable address, for example because a service whitelists it, test repeatedly over a realistic period and record the results. If you rely on varying addresses, confirm that they vary in the way you need.
What to record in a check log
If you repeat the check over time, keep a small log with the same fields each time: date and time, the network you were on, the echo service used, the address returned, the country and network name reported, and whether the request used IPv4 or IPv6. Add a note on what you had changed since the previous check. After a few entries you can see patterns, such as an address that stays the same for a long period or a country that one database reports differently. Without a log, a surprising result is only a memory, and it is hard to tell whether it is new.
When a result is good enough
Decide in advance what counts as a pass. For a simple connectivity test, an address different from your baseline is enough. For work that depends on a region, you may also need two lookup services to agree on the country. For work that depends on a stable address, you need the same address across the period that matters. Writing the pass condition down before you test stops you from adjusting the standard after the result arrives.
Keep the log in the same place as your configuration notes so that the next person finds it.
A plain example
A developer builds a small tool that fetches a public page from a different region to check its localized content. Before deploying, she wants to know that the tool really goes through the proxy.
First she runs a request to an address-echo page from the server without the proxy and writes down the address. Then she runs the same request with the proxy set through an environment variable, and the address is different. The location says the expected country, but she also checks a second lookup service, which gives a slightly different city. She decides to rely on the address and country only.
Next she runs the request again over HTTPS and sees the same proxy address. Finally she runs the tool itself, adds a line that logs the address reported by the echo page at the start of each run, and sets an alert if the logged address ever equals the server own address. Months later, a deployment change drops the proxy variable and the alert tells her the same day.
Common reasons the result looks wrong
| What you see | Common reason |
|---|---|
| Same address as without the proxy | Proxy not applied, bypass rule, wrong profile or application |
| An address that belongs to neither you nor the proxy | Another VPN, a corporate gateway or a security tool is in the path |
| Different address on each request | The product may rotate addresses; check the plan page |
| Country looks wrong | Database lag or disagreement; compare services |
| IPv6 shows your own range | Request bypassed the proxy on IPv6 |
| Page fails | Wrong endpoint, blocked port or missing authorization |
Limits and what to watch for
- Echo pages are third-party services. They can go offline or change their format, so keep an alternative.
- The check shows what one destination saw at one time. Repeat it after changes.
- Do not paste proxy credentials into pages or tools you do not trust, and avoid sharing screenshots that contain them.
- A proxy address showing up does not mean every program on your device uses the proxy. Check each application.
- Use proxies only for lawful purposes, within the terms of the sites you reach and local law.
Summary
To see your public IP after connecting to a proxy, record the address without the proxy, then repeat the same check through the proxy in a browser and on the command line, and compare. A different address that belongs to the proxy network shows the route works. Treat location as a hint, watch for IPv6 differences, and repeat the check whenever your setup changes. When you want to compare proxy services and see what each one includes, the proxy page is a good place to start.
Frequently asked questions
What is a public IP address?
It is the address that websites and other servers on the internet see when your traffic reaches them. It is different from the private address your device has inside a home or office network.
How do I see my public IP after connecting to a proxy?
Send a request through the proxy to a page or service that echoes the address it sees, and compare the result with the address you get without the proxy. A different address that belongs to the proxy network shows the route is working.
Why does the location shown for my proxy IP look wrong?
Location comes from databases that map addresses to places, and they can be approximate or out of date. Treat the address as the evidence and the location as a hint, and compare more than one lookup if it matters.
Why do I see two different addresses, one IPv4 and one IPv6?
A device with both kinds of connectivity may use either one depending on the destination and the software. Make sure the check uses the same path as your real traffic.
Does the address stay the same between requests?
It depends on the proxy product and configuration. Some setups keep one address for a period of time, while others may use a different address per request or per session. Check the plan page for how your product behaves.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a proxy for this?
XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.
See proxy plansKeep reading

Proxy Guides
How to Check That Your Browser Is Really Using a Proxy
A practical checklist for confirming that your browser is routed through a proxy, from comparing your public IP to checking settings, HTTPS pages and bypass rules.
9 min read

Proxy Guides
How to Change Proxy Country Without Rewriting Your App
Keep the country choice out of your code. This guide shows how to switch proxy country through configuration, environment variables and endpoint settings, then verify the result.
9 min read

Proxy Guides
How to Set Up a Proxy with IP Whitelist Authentication
A step by step guide to IP whitelist authentication for a proxy: find your public IP, authorize it, point your browser or app at the proxy and test the result.
10 min read