如何在LINUX服务器下查看公网IP地址,可以使用下面的方法: curl http://members.3322.org/dyndns/getip 转载于:https://blog.51cto.com/hy2009/1769281