在需要查询的内网机器上执行以下命令: curl http://ifconfig.me curl icanhazip.com curl ipinfo.io/ip curl www.trackip.net/i