1. 程式人生 > >雲服務器查看外網IP地址方法

雲服務器查看外網IP地址方法

sha dig 返回 har .cn res conf pen tis

#返回IP地址
curl ip.6655.com/ip.aspx 
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和地區 
1.curl ip.cn 
2.curl cip.cc

以上為可以用來查詢外網IP的網址和方法。  

雲服務器查看外網IP地址方法