Proxy showing the wrong country? Check these layers
Diagnose a proxy location mismatch by checking the exit IP, geolocation databases, browser permissions and application routing.
First confirm the exit IP of the request that failed. Then compare that same address across location databases. A browser location, an account country and an IP database result describe different things.
Identify which location is wrong
A website can choose a country from your network address, a saved account setting, a shipping address, a language preference or browser geolocation. Changing the proxy only changes the network path of traffic that actually uses it. It does not reset the other inputs.
Write down the observed behavior before changing settings. A store displaying the wrong currency is a different problem from an IP lookup assigning the exit address to the wrong country. The first may be a website preference; the second concerns the address or its database entry.
| Observation | Check first |
|---|---|
| An IP lookup shows your usual address | The application may be bypassing the proxy. |
| Two lookup services disagree | Compare their database results for the identical exit IP. |
| A map shows your physical location | Check browser location permission and device location. |
| A store keeps an old currency | Check cookies, account preferences and the site's country selector. |
| Country is correct; city differs | Check the limits of city-level IP geolocation. |
Confirm the exit IP in the affected application
Use an IP-echo endpoint from the exact client, browser context or application that produced the unexpected result. A successful curl check does not prove that a separate browser or application is using the same proxy.
Record the timestamp and whether the address is IPv4 or IPv6. If the carrier changes the exit IP between lookups, you are comparing different observations. Repeat the lookup after reconnecting instead of treating the old result as current.
# Store the proxy URL in your local environment, not in a shared script.
# This test contacts an external IP-echo service through the proxy.
curl --fail --silent --show-error \
--connect-timeout 10 --max-time 20 \
--proxy "$MP_PROXY_URL" https://api.ipify.orgDo not put a credential-bearing proxy URL in screenshots, support messages or a public repository. Share the observed exit IP privately only when it is needed for diagnosis.
Compare database results without promising a city
Look up the same exit address in two independent databases and record the country, city, network owner and lookup time. Disagreement is evidence of a classification difference, not proof that either result describes the physical modem location.
MaxMind explains that geolocation accuracy varies with the country, address type and network practices. Mobile traffic can leave the carrier network through a gateway away from the device. A city result should not be treated as a guaranteed city-level product feature.
An ASN lookup helps identify the network announcing an address. It does not establish every detail of the proxy's physical infrastructure, and an address can have a correct carrier assignment alongside an outdated location entry.
Download the location worksheetCheck browser and account state
- Open a fresh browser context with the intended proxy. Keep the same test URL and record its exit address.
- Review the site's location permission. If the test needs a simulated browser location, configure it separately and document that choice.
- Set language and timezone explicitly for the scenario. Neither setting changes the exit IP.
- Check whether cookies, a signed-in account or an explicit country selector overrides the site's initial country detection.
- If only one application differs, compare its proxy settings, bypass rules and IPv4/IPv6 behavior with the working client.
Choose the next action from the evidence
If traffic bypasses the proxy, fix that client's routing. If database entries disagree, provide the observed exit IP, lookup providers and timestamps to support. The operator may need to request a data correction; neither you nor the proxy can force a third-party website to refresh its own database immediately.
If a site uses an account or browser preference, change that preference only as part of an authorized test. For repeatable QA, record all inputs in a test matrix so the next run tests the same situation.
- Include the country ordered and the country reported.
- Include the affected application and a minimal test URL.
- Include the exit IP and observation time privately, without proxy credentials.
- Distinguish a country mismatch from a city mismatch.
Sources and further reading
The guidance above distinguishes documented client behavior from product-specific details. Confirm current plan availability at checkout.