maxmind / geoip-api-c

DEPRECATED GeoIP Legacy C API
Other
371 stars 129 forks source link

How can I know my location after a NAT router ? #105

Closed zeusshuang closed 5 years ago

zeusshuang commented 5 years ago

Hi ,

Is there any way that I can lookup my location (at which country) while my IP is a private IP (after a NAT router) but no public IP information ?

many thanks,

oschwald commented 5 years ago

The databases do not contain private IP addresses.

zeusshuang commented 5 years ago

so, if there is no public IP information on the device, there is no way to detect the device's location by geoip API ?