iplookupcountry

How can I get the Country according to a certain IP?


Is there a simple way to retrieve the country from a given IP Address, preferably in ISO_3166-1 format?


Solution

  • A lot of people (including my company) seem to use MaxMind GeoIP.

    They have a free version GeoLite which is not as accurate as the paid version, but if you're just after something simple, it may be good enough.