Questions tagged [freegeoip]

Freegeoip.net provides a public HTTP API for software developers to search the geolocation of IP addresses.

Freegeoip contains both the that empowers freegeoip.net, and a package for the that enables any web server to support IP geolocation with a simple and clean .

25 questions
5
votes
0 answers

How to run my own instance of freegeoip on my own server

I'm evelauting using thie service. http://www.freegeoip.net/ & i quote the text below. The freegeoip web server is free and open source so if the public service limit is a problem for you, download it and run your own instance The public service…
StackTrace
  • 9,190
  • 36
  • 114
  • 202
4
votes
2 answers

MaxMind pulling Geolite2 gets 401 Unauthorized

Geolite2 access changed on 12/30. Today I registered for a Maxmind account, registered a license key (both one that "Will this key be used for GeoIP Update?" and one that will not) .. and now each time I enter I get a 401: smachine:~# wget…
jg3
  • 503
  • 5
  • 12
3
votes
0 answers

Unable to build freegeoip in Golang

Not familiar with Go but I'm trying to set up freegeoip and I keep getting this error when I try to build it: go get github.com/fiorix/freegeoip cd ~/go/src/github.com/fiorix/freegeoip go build ../../oschwald/maxminddb-golang/decoder.go:4:2: import…
jwerre
  • 9,179
  • 9
  • 60
  • 69
2
votes
1 answer

Redirect main website to sub domain based on visitor IP address (country)

I need help redirecting my website to sub domain based on visitor ip address (location). I have 3 specific websites I want to redirect visitors from Europe to eu.mysite.com I want to redirect visitors from USA to us.mysite.com I want to redirect…
user1812111
  • 83
  • 1
  • 1
  • 11
2
votes
2 answers

freegeoip doesn't work anymore

A few months ago I created a code that detect a visitor country and display the legal drinking age. For country in EU is 18 and for other countries is 21. I'm using the freegeoip. The code was working great, but now I noticed that doesn't work…
1
vote
1 answer

While using freegeoip in recon-ng,i get error [!] KeyError: 'city'

While using freegeoip in recon-ng i got the following error,i havent add any api keys yet, that shouldn't affect it;but somehow i get the error code as following: [!] KeyError: 'city' File…
zaurab pro
  • 11
  • 3
1
vote
1 answer

Using freegeoip for a list of IPs

Please give me a simple tip where to dig! I have multiple IP's and need to display the location next to each of them. I have a list of IPS in array via var table = document.createElement('table'); table.innerHTML = forext; var ips =…
Jessica Ray
  • 65
  • 2
  • 5
1
vote
1 answer

Obtaining latitude and longitude from shell using freegeoip

I'm trying to obtain latitude and longitude using freegeoip from shell. When I try the following commands: $ curl -s --get http://freegeoip.net/json/74.201.113.118 | grep -Po '(?<="latitude":)[^,}]*' $ curl -s --get…
Tuco
  • 902
  • 3
  • 18
  • 33
1
vote
1 answer

Freegeoip with Docker Cloud

I am using http://freegeoip.net for geo location on my website. To reach higher reliability, I would like to create a local copy of the service on a separate server. I have set up Docker cloud with Amazon AWS and installed this repository:…
markus2904
  • 11
  • 1
1
vote
2 answers

Autofilling a form with visitor's country using IP address

This is the first time I'm doing this. I have a form for new users (Investor model) and I want it to be that once the form is loaded, based on the visitor's IP, the country field is already filled with the country. I heard of geoip gem. Don't know…
emi
  • 2,830
  • 5
  • 31
  • 53
0
votes
0 answers

How do you deploy GeoIP on ECS Fargate?

How to productionise https://hub.docker.com/r/fiorix/freegeoip such that it is launched as a Fargate task and Also how to take care of the geoipupdate functionality such that the GeoLite2-City.mmdb is updated in the task. I have the required…
0
votes
4 answers

jquery redirect on button click

I'm trying to redirect on button click based on visitor location and I have modal with two windows. As well as using freegeoip.net: I'm using this with Wordpress: script correctly hooked to wordpress and running but redirect doesnt work. I'd…
Ndong Akwo
  • 592
  • 5
  • 13
0
votes
1 answer

freegeoip 403 Forbidden

I am using freegeoip to get geolocation of ip address for my client. Everything was working fine but all of sudden an error is showing on the site in the top area saying, Severity: Warning Message: …
usman
  • 63
  • 10
0
votes
0 answers

Sending HTTP GET request to freegeoip in C

I have written a C-programm on Windows to get my location using freegeoip. The side just says that I must send a HTTP GET request in format freegeoip.net/{format}/{IP_or_hostname} where IP_or_hostname is optional and format can be csv, xml or json.…
Alex S.
  • 31
  • 1
  • 6
0
votes
2 answers

Geolocation using IP

I have been trying to find a tool to locate my position using my computer ip. I have tried some web tools such as http://geoiplookup.net/and https://geoiptool.com/ and some developer tools like freegeoip.net, in which I'm more interested. the fact…
8-Bit Borges
  • 9,643
  • 29
  • 101
  • 198
1
2