开发者

How to programmatically find geo location of incoming http request? [closed]

开发者 https://www.devze.com 2023-03-06 04:42 出处:网络
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can e开发者_开发问答dit the question so it can be answered with facts and citations.

Closed 4 years ago.

Improve this question

I know there are many online tool available but I want to write in house tool, references or how to go about it? Or even it can be done or is a mammoth task?


You need to have a location database of all IP addresses. So, either you build a database yourself (a genuinely mammouth task) or you use an external service.

Some IP location services have have APIs so you can call then from your code.

0

精彩评论

暂无评论...
验证码 换一张
取 消