查看服务器的出口IP
#只返回IP地址
curl whatismyip.akamai.com
wget -qO - ifconfig.co
curl icanhazip.com
dig +short myip.opendns.com @resolver1.opendns.com
curl ident.me
curl v4.ident.me
curl curlmyip.com
curl ifconfig.me
curl inet-ip.info
#返回IP和地区
curl cip.cc
本文来自博客园,作者:18cm的烦恼,转载请注明原文链接:https://www.cnblogs.com/jubian520/p/16493437.html