24

is this site not working any more as i cant get it to work, it used to work.

is there any RELIABLE service like it

http://freegeoip.net/

user2899094
  • 491
  • 1
  • 4
  • 17
  • 11
    Author of freegeoip.net here. The site suffered a major DDoS attack on new year's eve and took almost a week to recover. Since then it's been running reliably. – fiorix Feb 10 '14 at 06:40
  • 12
    Seems to be down a lot lately :( – Hackeron Jun 12 '14 at 16:36
  • 7
    freegeoip v3 can be downloaded and deployed on any linux server and requires no maintenance. It also ships as a Docker container so you can run it anywhere on the cloud. See https://github.com/fiorix/freegeoip/releases for details. – fiorix Nov 22 '14 at 19:27
  • 1
    @fiorix, thanks for this service. Just a quick question, the public service limit of 10,000 queries per hour by default might or might not be a problem for me, so i just want to take the safe route early enough by downloading it and running my own instance. However, i have zero experience on deploying such a server. Do u have or know of a walk-through that can get me started. Can i host on windows or my own instance must be hosted on a linux server? – StackTrace Feb 03 '15 at 08:43
  • I've also found freegeoip to be unreliable with an ajax request and hence using Tellize for now. May install freegeoip on my server and see how that goes instead. in fact i see their webpage is very slowly ip locating today. – luke_mclachlan Jun 11 '15 at 10:51
  • hey @StackTrace a couple days ago I updated the instructions in the README file and that might help you. – fiorix Dec 12 '15 at 16:23
  • @Volte yeah you got it, don't be mad – fiorix Dec 12 '15 at 16:23
  • 1
    You can use: https://www.geoip-db.com/ – Kurt Van den Branden Apr 06 '16 at 16:20
  • After the deprecation, https://reallyfreegeoip.org was launched as an alternative with the same response format. – Joseph Shih Oct 20 '18 at 21:44

3 Answers3

13

You can also checkout: http://geoip.nekudo.com/

I just started this as an alternative to freegeoip. Is's completely free and open-source so you can also setup your own copy if you like.

nekudo
  • 147
  • 1
  • 2
  • Can you provide some instructions on how to set up a private instance of this? – ObiHill Dec 17 '14 at 18:59
  • 2
    @nekudo The beautiful thing about your API is that it is served over HTTPS. So glad I found it. Thank you! – Anish Sana Dec 07 '16 at 02:50
  • After the deprecation of freegeoip.net, https://reallyfreegeoip.org was launched as an alternative with the same response format. No signup needed. – Joseph Shih Oct 20 '18 at 21:45
4

To setup your own instance this is what you have to to:

  1. Pull the sourcecode from the github repsitory and put it on your server.
  2. Run "composer install" to load all dependencies. (Install composer if you don't have it yet)
  3. Download a copy of the GeoLite2 database and put it into a "data" folder. The path do the database can be change in "www/index.php".
  4. Point your webserver to the "www" folder and you're done.

There is an optional PHP extension provided by Maxmind which you can install to increase database read performance.

nekudo
  • 107
  • 4
1

Even if you don't use the related component, you can find a list of services here: https://github.com/alexreisner/geocoder#street-address-services

I am not sure that all this services propose IP geocoding. At least MaxMind allows that, but it is not free.

Jason Gilmore
  • 3,698
  • 3
  • 23
  • 28
Eric L.
  • 1,064
  • 8
  • 7