linux 查看自己所在的公网ip

curl members.3322.org/dyndns/getip  

 

其他的方法还有:

curl icanhazip.com  
curl ifconfig.me  
curl curlmyip.com  
curl ip.appspot.com  
curl ipinfo.io/ip  
curl ipecho.net/plain  
curl www.trackip.net/i  

 

posted @ 2018-02-04 13:27  QiaoZhi  阅读(5169)  评论(0)    收藏  举报