linux 查看服务器出口IP

因为某种原因,需要知道本地服务器出口IP,
​可以用以下方法检测:

$ wget http://members.3322.org/dyndns/getip
$ cat getip

你可能感兴趣的:(linux 查看服务器出口IP)