> Ubuntu >

查看Ubuntu服务器外网IP

当在一个拥有多个外网IP的服务器群里面,查看外网IP地址指令:
  1. $ curl ifconfig.me

  1. echo `nc ns1.dnspod.net 6666`

(责任编辑:IT)