最近遇到查看服务器的出口IP是多少,可以用如下命令查看: elinks "http://www.ip138.com/ips138.asp?" 就可以看到服务器出口的IP 是多少了。 转载于:https://blog.51cto.com/8118556/1321019