Explainer

IP address in the wrong location: why it happens and how to fix it

The registry put 186 of 400 Apple relay ranges in the wrong country. Why IP location goes wrong, and the fixes that work, from device location to geofeeds.

HProxy Team··Updated October 11, 2026·9 min read
HProxy.Explainer

Skip the dead lists.

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump.

Open the free proxy list→

An IP address does not contain a location. A website looks your address up in a geolocation database. The database holds a best guess for each block of addresses, and the site shows that guess as where you are. The guess goes wrong in a few common ways. The database can be out of date, or follow the registry record of whoever holds the block. Your phone network may share your address with many others. Or your traffic leaves through a relay, VPN, proxy or company network somewhere else. Most fixes are on your side, and the lasting one sits with your internet provider.

We measured how far apart the answers can be on 11 October 2026. Apple publishes where each of its iCloud Private Relay address ranges is. For 400 of those ranges, we compared Apple's locations with the registry records and with a geolocation database. The registry put 186 of them in the wrong country. The database matched the country of all 400.

Where does a website get your location from?

A site that does not ask for your device location has only your IP address to go on. Google, which uses both, says your location "comes from a variety of sources, which are used together to estimate where you are". For the IP part, it writes that "IP addresses are roughly based on geography". When Google used your address, the note at the bottom of its results says "From your internet address".

The guess comes from a database, not from the address itself. RFC 6269 calls this use of an address "a heuristic at best". Sites still rely on it for content licensing, advertising and customised content. Each database merges several kinds of data. One kind is the operator's own word, a geolocation feed in the RFC 8805 format, which Google is named as using. That RFC also notes there is no "centralized means" to send correct location data to every site that needs it.

Your device's location is a separate thing. A site can ask your browser for it, and MDN describes how "the user is asked for permission to report location information". With that permission, the browser uses the best method the device has, for example GPS. Without it, the site falls back on the IP guess.

Why does my IP address show the wrong location?

There are six usual causes, and each one has its own fix.

CauseHow to recognise itWhat fixes it
The database is out of dateLookup tools disagree; the address moved recentlyA report to the site; your provider's geofeed
The registry's country, not yoursWHOIS shows the owner's head office countryNot WHOIS: a geofeed
A shared address on a phone networkWrong on mobile data, right on home Wi-FiDevice location; ask the carrier
A relay, VPN, proxy or work networkThe location changes when you turn it offTurn it off, or change its location setting
IPv6 instead of IPv4The site and the lookup page show different addressesCheck the address the site sees
The site uses another signalGoogle says "Based on your past activity"Device and account settings

The database is out of date. Address blocks move. RFC 8805 warns about an ISP that "changes the location where an IP prefix is deployed". Sites that use location data may then start to work worse. The same RFC asks databases to refresh operator feeds "no less often than weekly". Google says its own IP updates "may take more than a month".

The registry's country, not yours. Every block is recorded with one of the five regional registries. The country in their shared files is the country "of the organisation to which the allocation or assignment was made". For a large company, that can be its head office. The RIPE NCC says its country field "cannot be used in any reliable way to map IP addresses to countries". ARIN says it "does not maintain geolocation data for an IP address". A database that leans on these records inherits their country.

A shared address on a phone network. A mobile carrier may put many users behind one shared public address, a setup called carrier-grade NAT. RFC 6269 describes the result. The subscriber is placed wherever the shared address appears to be, and "very often that will be in a different city".

A relay, VPN, proxy or work network. The site sees the address your traffic leaves from, and RFC 9632 notes that this address "may not point to a user". iCloud Private Relay is one such relay, built into Apple devices. Its second relay "generates a temporary IP address" and connects you to the site. By default Apple places that address near you, at "coarse city-level". A user can choose "Use Country and Time Zone" to make it vaguer.

IPv6 instead of IPv4. On a connection with both, the system prefers IPv6. RFC 8305 assumes a policy that "favors IPv6 over IPv4". The site may then locate your IPv6 address, while a lookup page that shows only IPv4 tells you something else. We compare the two in IPv4 vs IPv6 proxies.

The site uses another signal. Google may use your device location, the home and work addresses in your account, or your past activity. It also keeps your last device location in a cookie set to expire after 6 hours. A wrong result can come from any of these, not only from the IP.

How far apart are the registry and the real location?

We tested it on 11 October 2026 from our own server. Apple publishes the locations of its Private Relay exit ranges as an RFC 8805 feed. On that day, the feed listed 285,069 ranges in 235 country codes and 15,918 cities. We took a random sample of 400 IPv4 ranges and looked each one up two ways. The first was the country in the registries' own files. The second was a geolocation database: our free IP lookup.

Terminal output: six relay addresses with Apple's location, the registry country and the lookup's answer
Our own capture from our server, 11 October 2026, 01:37 UTC
How often each answer agreed with Apple's own location, 400 relay ranges (%)
Registry country
53.5%
Lookup country
100%
Lookup city
94.8%
The registry records who holds a block, not where it is used.Source: HProxy measurement from our server, 11 October 2026; Apple's egress feed, the five registries' delegation files, our free IP lookup

The registry said United States for all 400 ranges, so it matched Apple's country only for the 214 that Apple places in the US. Apple places the other 186 in 72 other countries, most often India, the United Kingdom, Japan, Brazil and Canada. The lookup matched the country for all 400 and named the same city for 379 of them.

This is the best case for a database. Apple publishes its feed and asks site owners to have their database provider "update your feeds with the latest mappings". A home connection from an ISP without a feed gives the database less to go on. Two lessons still hold. A WHOIS country is not a location. And where the operator publishes a feed, a database can get it right: ours matched the country every time.

How do I fix a wrong IP location?

Work through these in order. The first steps fix what you see today; the last ones fix the record for everyone.

  1. Find out which signal the site used. On Google, the bottom of the results page shows how your location was estimated. Our proxy IP checker shows the public address a site sees from you and the country behind it. The IP lookup places any address you type in.
  2. Turn off the relay, VPN or proxy, or change its setting. For iCloud Private Relay, Apple's path is Settings > [your name] > iCloud > Private Relay > IP Address Location, then "Maintain General Location".
  3. Let the site use your device location. In your browser, click Site information in the address bar, then Site settings > Location, and choose Allow. Google notes that "Most computers can send location information to websites", even without GPS.
  4. Check your account settings. A home or work address saved in your Google account may be used to estimate where you are.
  5. Report the address to the site. Google takes reports through its Report IP problems form when your address "is causing Google products to show content for the wrong country". Its updates may take more than a month. For another site, its support team is the place to report it.
  6. Ask your internet provider to publish or fix its geofeed. This is the fix that reaches every database at once. The provider lists its ranges and their locations in the RFC 8805 format and points to the file from its registry record with a "geofeed:" line. RFC 9632 says the RIPE and APNIC databases support that line, and that where feed data exist, "geographic location hints in other data should be ignored".
  7. Ask the database's provider for a correction, if you know which database the site uses. Apple gives site owners the same advice for its relay ranges: reach out to the database provider.

Changing a WHOIS record will not help, for the reasons above: the registry's country describes the holder, not the location.

What if the address belongs to a proxy?

Then the site places you where it places the proxy's exit, by the same rules. A proxy whose exit sits in Frankfurt is placed in Frankfurt, if the database knows that range. A database that has not caught up places it wherever the block was before. Check the exit itself, not the label you chose. Our proxy location checker and the IP lookup both show the country and city of an exit address. If you need exits in a chosen country, our residential proxies let you pick the country, from $0.44/GB.

What this page could not check

  • We cannot see which database a given site uses, or how it weighs the IP against other signals. Sites do not publish this.
  • We measured one operator's feed, Apple's Private Relay, for 400 IPv4 ranges, against the registries and one database, ours. We did not query any other lookup service.
  • An ISP without a feed and a mobile network behind carrier-grade NAT were not measured; for those we rely on the standards quoted above.
  • City names were matched as text, so two spellings of one city count as a miss.
  • Apple's feed, the registry files and every database change weekly or faster. We will measure again by 11 January 2027.

Sources

Frequently asked questions

Why does my IP address show the wrong location?
Because an IP address holds no location. A site looks it up in a geolocation database, which keeps a guess for each block of addresses. The guess is wrong when the database is out of date, when it follows the registry record of the block's owner, when a phone network shares one address among many users, or when your traffic leaves through a relay, VPN or proxy somewhere else.
Can I correct my IP address's location?
You can report it, but the lasting fix sits with your internet provider. For Google, use its Report IP problems form; Google says updates may take more than a month. Your provider can publish a geofeed, a list of its address ranges and their locations, and point to it from its registry record, which geolocation databases read. For one site, allowing it to use your device location is the quickest thing to try.
Why is my location wrong on my phone?
A phone network may put many subscribers behind one shared public address, called carrier-grade NAT. RFC 6269 says such a subscriber geo-locates to wherever the shared address appears to be, very often a different city. On an iPhone or Mac, iCloud Private Relay also gives sites a relay address, placed near you by default or only by country and time zone if you choose that setting.
Why do different websites show different locations for my IP?
They use different geolocation databases and update them on different schedules, and some use other signals, such as your device location, your account or your past activity. On a connection with IPv6, a site may also see your IPv6 address while a lookup page shows your IPv4 address.
Does changing the WHOIS record change my IP location?
No. The country in a registry record is the country of the organisation that holds the block, and the RIPE NCC says it cannot be used in any reliable way to map addresses to countries. In our test of 400 iCloud Private Relay ranges, the registry country matched Apple's own location only 214 times.
How do I fix Google showing the wrong country or city?
Look at the location note at the bottom of Google's results. If it says From your internet address, allow google.com to use your device location in your browser's site settings, and check the home and work addresses in your Google account. If Google shows content for the wrong country because of your IP, report it with Google's Report IP problems form.

Get proxies that are alive right now

Our free proxy list re-checks every exit every few minutes across 100+ countries, with a live last-checked time, so you copy IPs that worked moments ago, not a stale text dump. When the location has to survive a real check, the paid network holds up.

129M+ proxy checks run · 100+ countries · HTTP / HTTPS / SOCKS · re-checked every few minutes · no signup

HProxy.

Honest guides and comparisons on proxies, scraping and staying unblocked, from the team that runs the network.

RSS feed