您的位置:首页 > 其它

自动获取外网ip

2016-01-03 08:28 267 查看
$ curl ifconfig.me

$ curl icanhazip.com

$ curl ident.me

$ curl ipecho.net/plain

$ curl whatismyip.akamai.com

$ curl tnx.nl/ip

$ curl myip.dnsomatic.com

$ curl ip.appspot.com

$ curl -s checkip.dyndns.org | sed 's/.*IP Address: \([0-9\.]*\).*/\1/g'

 

转自:http://xmodulo.com/2013/04/how-to-find-the-public-ip-address-from-command-line.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: