The problem is with client ip and location. When we are searching location with Lat. & Long. it is showing China but when we search with clientip on url: https://www.iplocation.net/, it gives some other location.(In my case it is showing India)
Can any one please help me to resolve issue as i want accurate location on map
From what I remember the GeoIP database that comes pre-installed doesn't update automatically. You have to download the newest database file from Maxmind's website. I believe they put out a new version once per month for the free version. The version you are using could be several years out of date.
I like to use this website for looking up IP's. The reason why is that it looks at several different GeoIP databases so you can see how much they differ. https://www.iplocation.net/
For example I plugged in your IP from above. It actually shows the maxmind database as showing India. My guess is that the version of the geoIP database you have installed shows China, but if you were to download the newest version it would show India. Try updating the database and see if your results change.
I have a cron job similar to what is found in this stackoverflow answer that updates the database once per month.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.