A website sees the source address of the connection that reaches it, and it guesses your location by looking that address up in a database. To check both, request the address from an echo service using the same program and network path as the app you care about, then compare results from IPv4, IPv6 and a second location database. This guide is current as of November 2026.
What does a website actually see?
A server sees the public IP address that opened the connection, plus whatever your client volunteers: headers, language, and for browsers a time zone. It does not see your street, your device name, or the IP address behind a proxy or VPN. Everything it infers about location comes from lookups, not from your hardware.
- The connection address: the public IP of the last hop before the server, which is your router's address, a proxy's, or a VPN server's.
- Forwarding headers: servers behind a CDN or load balancer often read the client address from headers such as
X-Forwarded-For. - Browser-supplied hints: the
Accept-Languageheader, the time zone available to JavaScript, and location data only if you explicitly grant permission.
How do I check my public IP quickly?
Ask a public echo service from the program you want to test. A command-line tool shows what the terminal sees, a browser page shows what the browser sees, and the two can differ. Forcing IPv4 or IPv6 shows each address family separately.
# Public IPv4 address as seen from this terminal
curl -4 https://ifconfig.me
# Public IPv6 address (fails if you have no IPv6 route)
curl -6 https://ifconfig.me
# Address plus country code from Cloudflare's trace endpoint
curl https://www.cloudflare.com/cdn-cgi/trace
In the trace output, ip= is the address Cloudflare saw and loc= is the two-letter country code it derived. To test through a specific proxy, pass it explicitly (see HTTP vs SOCKS5 proxy for the URL schemes):
curl -x socks5h://user:password@proxy.example.com:1080 https://ifconfig.me
In a browser, open the same echo page. If the browser and curl print different addresses, one of them is not using the tunnel; the TUN mode vs system proxy article explains why that happens.
Why does the location look wrong?
The location is a database estimate keyed on the IP, not a measurement of where you sit. Providers update their data at different times, and address blocks that move between regions can be labeled with the old country for a while. Two lookup sites can reasonably disagree about the same address.
- Different databases: compare at least two lookup services before concluding the address is mislabeled.
- Stale data: a recently reassigned block may still carry the previous country or city.
- City-level precision is weak: country is usually reliable; city often is not.
- Registration versus use: the registered owner may be headquartered in one country while the address is used in another. Run
whoison the address to see the registration; residential vs ISP residential vs datacenter IP explains how to read it.
Why do the terminal and the browser show different results?
They are different programs, and each can take a different network path. A browser may follow the system proxy while a terminal tool ignores it, or the other way round. The same applies to IPv6: a site may use your real IPv6 address even when IPv4 goes through the tunnel.
| Symptom | Likely cause | How to confirm |
|---|---|---|
| Browser shows the VPN address, curl shows your original | System proxy is set but curl ignores it | Check env | grep -i proxy; try curl -x |
| IPv4 shows the new address, IPv6 shows the old one | The IPv6 path is not tunneled | Compare curl -4 and curl -6 |
| One app shows the original address | A routing rule excludes that app | Review the client's per-app or split-routing rules |
| Address is right but country is wrong | Database disagreement | Check a second lookup source and whois |
What else can a web page learn about me?
Besides the connection address, a page can read browser-provided data. The time zone is available to scripts, the language preference is sent with each request, and a feature called WebRTC can reveal network addresses during peer-to-peer setup. None of this changes the address the server sees, but it can make the picture inconsistent.
// In the browser console: the time zone your browser reports
Intl.DateTimeFormat().resolvedOptions().timeZone
For troubleshooting, the point is simply to know which signals exist. If a site shows content for the wrong region, compare the IP location against the browser's time zone and language settings before assuming the proxy is at fault.
A short checklist for a reliable check
- Note your address and country with the tunnel or proxy turned off. This is your baseline.
- Connect, then run
curl -4andcurl -6from the terminal. - Open the same echo page in the browser you actually use.
- Compare the country in two different lookup sources.
- If any result still shows your baseline address, check proxy settings, per-app rules and IPv6 handling, in that order.
Where AnboVPN fits
When you use an AnboVPN connection, the same checks apply. The official clients support application-level smart routing and TUN mode, so an app excluded by your routing rules will show your original address, which is expected. For the HTTP/SOCKS5 proxy, run the curl -x test above with the proxy details from your plan. The clients are on the AnboVPN download page, and new accounts get 10 GB of data once, valid for one month.






