curl myip.ipip.net <– preferred
curl https://api.myip.la
curl icanhazip.com
curl ipinfo.io/ip
…
The post How to get the public IP address of an intranet server first appeared on Lenix Blog .
This article is reprinted from https://blog.p2hp.com/archives/9593
This site is for inclusion only, and the copyright belongs to the original author.