有浏览器的话:
在浏览器中打开以下任一网址即可。
http://nstool.netease.com/
www.ip138.com
http://www.ipip.net/ip.html
https://api.b.qianxin.com/api/ip
windows:
tracert www.google.com
Linux
curl ifconfig.me
curl ifconfig.io
curl httpbin.org/ip
curl http://members.3322.org/dyndns/getip
curl myip.ipip.net
为美好的生活奋斗!