Programming Tips - Programmatically find my external IP-address
Date: 2021oct25
Language: agnostic
Q. Programmatically find my external IP-address
A. Visit
http://checkip.dyndns.org
https://checkip.dyndns.org
http://ipaddr.io
To get a very simple html page that you can take apart to see the
IP-Address. In a script:
curl http://checkip.dyndns.org
curl https://checkip.dyndns.org
curl http://ipaddr.io