跳转至

可以获取公网IP的网站

Bash
# 获取公网ip
# 普通文本格式
curl https://checkip.amazonaws.com
curl icanhazip.com
curl http://members.3322.org/dyndns/getip
curl ip.6655.com/ip.aspx
curl ident.me
curl ipecho.net/plain
curl whatismyip.akamai.com
curl ifconfig.me
curl myip.dnsomatic.com
curl ifconfig.co
curl http://ipv4.ip.sb
curl http://ip-api.com/json

# json格式
curl ipinfo.io

# 返回ip和地区
curl ip.6655.com/ip.aspx?area=1
curl cip.cc
wget -q -O - http://icanhazip.com | /usr/bin/tail