通过IP地址识别国家 [英] Identifying country by IP address

查看:235
本文介绍了通过IP地址识别国家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只有通过查看IP地址才能找出国家名称吗?我的意思是,国家是否有特定范围的IP地址?例如,澳大利亚的IP地址只能在 123.45.56.89 - 231.54.65.98 范围内(只是一个例子)

解决方案

我认为您要查找的是IP地理位置数据库或服务提供商。有很多,有些是免费的(得到你所支付的)。

虽然我之前没有使用过这个服务,但它声称是实时的。 https://kickfire.com/kf-api



但是,只需在IP地理位置上进行Google搜索,即可获得比您需要的更多结果。


Is there a way to figure out the country name just by looking at an IP address? I mean, do countries have specific ranges of IP addresses? For example, Australia can have IP addresses only in the range of 123.45.56.89 - 231.54.65.98 (just an example)

解决方案

I think what you're looking for is an IP Geolocation database or service provider. There are many out there and some are free (get what you pay for).

Although I haven't used this service before, it claims to be in real-time. https://kickfire.com/kf-api

But just do a google search on IP geo and you'll get more results than you need.

这篇关于通过IP地址识别国家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆