How to

Posted on May 14, 2018

How to obtain IP geolocation data?

IP geolocation data specify the geographical location (or geolocation) of networked devices. Many of these devices, especially non-mobile ones do not have GPS or any other means of determining their positions. Even if the device contains information about its own position it is not necessarily communicated for e.g., privacy reasons.

IP geolocation data are important in many applications ranging from network security to social sciences (see our other blog for details). Different accuracies maybe targeted: region level, city level, exact latitude and longitude coordinates. But where do they really come from? Here we describe this on two levels. First we outline at least some of the methods to generate these data from scratch in order to elucidate how sophisticated this task is. Next we describe how to obtain these data in practice, a much simpler business indeed.

Continue reading

Posted on May 14, 2018

The use of IP geolocation data: an overview

Probably nobody doubts that IP geolocation data should be important in many applications. If you know at least approximately where a device using a given IP address is located, obviously you can do a lot of things. Of course you may wonder how it can be found out, and you are right: doing it from scratch it is far from being straightforward (we have another blog about it if you are interested) Also, IPs are given dynamically and sometimes the devices using them change locations. This is also something one should bear in mind when using IP geolocation data. In spite of these potential difficulties they are really very useful. In the present article we provide a brief overview of at least some of the applications.

Continue reading

Posted on April 24, 2018

How to Perform a GeoIP Lookup with Node.js

In this article I'm going to walk you through the best possible way to find the physical location of an IP address using Node.js (also known as IP geolocation).

Unfortunately, there is no standard way to figure out where an IP address is physically located. Instead, companies referred to as GeoIP providers aggregate many different pieces of data together to build an accurate database of IP location data.

Continue reading