[英]How to find IP address or Location of http request?
I want to find location of http request that are coming from many countries.我想找到来自许多国家/地区的 http 请求的位置。 i am getting ip address of http request by using javascript but i want to find location of that ip address or country of that ip address is there any java API to do that.我正在使用 javascript 获取 http 请求的 ip 地址,但我想找到该ip 地址的位置或该ip 地址的国家/地区是否有任何 java API 可以做到这一点。 or any other way like google API to find location或任何其他方式,如谷歌 API 来查找位置
THANKS in advance...提前致谢...
您可以使用 GeoIP API 为您执行此操作: https : //dev.maxmind.com/geoip/
在 Google 上搜索 GEOIP API 将为您提供许多选项,包括具有 Javascript API 的IPLocationTools 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.