文章目录
  1. 1. CURL查询出口公网IP信息
    1. 1.1. ipinfo.io
    2. 1.2. cip.cc
    3. 1.3. myip.ipip.net
    4. 1.4. ifconfig.me
  2. 2. httpbin.org

CURL查询出口公网IP信息

ipinfo.io

$ curl ipinfo.io

{

“ip”: “114.244.143.18”,

“city”: “Beijing”,

“region”: “Beijing”,

“country”: “CN”,

“loc”: “39.9075,116.3972”,

“org”: “AS4808 China Unicom Beijing Province Network”,

“timezone”: “Asia/Shanghai”,

“readme”: “https://ipinfo.io/missingauth“

}

cip.cc

$ curl cip.cc

IP : 114.244.143.18

地址 : 中国 北京

运营商 : 联通

数据二 : 北京市 | 联通

数据三 : 中国北京北京 | 联通

URL : http://www.cip.cc/114.244.143.18

myip.ipip.net

$ curl myip.ipip.net

当前 IP:114.244.143.18 来自于:中国 北京 北京 联通

ifconfig.me

$ curl ifconfig.me

114.244.143.18

ifconfig.io

~> curl ifconfig.io
116.229.180.194

httpbin.org

~> curl httpbin.org/ip
{
  "origin": "61.169.5.10"
}

members.3322.org

curl http://members.3322.org/dyndns/getip
116.229.180.194
文章目录
  1. 1. CURL查询出口公网IP信息
    1. 1.1. ipinfo.io
    2. 1.2. cip.cc
    3. 1.3. myip.ipip.net
    4. 1.4. ifconfig.me
  2. 2. httpbin.org