通过命令查看centos机器公网ip

[root@a ~]# curl icanhazip.com
81.68.125.144

以及:

curl ifconfig.me 

curl icanhazip.com

curl curlmyip.com

curl ip.appspot.com

curl ipinfo.io/ip

curl ipecho.net/plain

curl www.trackip.net/i

curl ip.sb

原文地址:https://www.cnblogs.com/xiaoai666/p/13824388.html