How to get your external public network IP address
Oct 17, 2019
There exist a myriad of techniques for acquiring your external IP address, yet my preferred methods typically revolve around the following approaches:
In your browser, simply type “What is my IP”
Command-line using “wget”
*you need to have wget installed — https://en.wikipedia.org/wiki/Wget
$ wget http://ipinfo.io/ip -qO -
Command-line using cURL
$ curl http://icanhazip.com