How accurate are GeoIP and $ _SERVER ['REMOTE_ADDR']?

I am creating a website for my friend, and she recently wants to find out who is accessing her site. Therefore, I use the MindMax database, and I have a list and account of access by country.

However, observing it for several days, we are surprised to find that there is access from some countries for which the website is not intended. Of course, this does not mean that I think that people from these countries will not be interested, but this only raises the question of accuracy. So how accurate are GeoIP and $_SERVER['REMOTE_ADDR'](which are used for searching)?

I don't care about those who intentionally hide or fake their IP address. I'm just curious to find out if there is something there that could inadvertently make it inaccurate (like routing).

+5
source share
3 answers

Well, based on their web page, their database is "99.8% accurate at the country level" ...

+4
source

It has been a long time (months) after I received the Wimax service at home, when GeoIP did not know where I was. I believe this is due to the fact that the IP block that my ISP uses is β€œnew” and has not yet been tied to anything.

I noticed this because the website (which was trying to be "nice" by telling me where I was) said something like "Hello, guest ... from us, we have no clue where you are from." (I think there was a comment about this press statement that said something like /* This should never happen */.)

+4
source

, .

GeoLite Country and GeoLite City are free IP geolocation databases, updated on the first Tuesday of every month. GeoLite and GeoIP databases have the same format and API.

http://www.maxmind.com/app/geolite

+1
source

All Articles