Hopefully, some one can help me with this issue. I am trying to implement a global site and hence was looking for a way to detect user location. I do not want to use any ip2location webservice or download a database or ask for user to "share location".
Anyways, I found this project. I implemented it , it detects my location correctly (US). However for my friend in Germany it is returning an empty string for Country.
http://javainetlocator.sourceforge.net/. I am using jar file from here.
I am using CF 11 and my code is on
PLEASE SUGGEST ME
Some German IPs are not in the IP database provided with InetAddressLocator. You can see this by running it in interactive mode via command line.