How to get your external public network IP address

Archie Makuwa
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:

Google

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

--

--

Archie Makuwa

I totally suck at everything. I think I love music and sometimes good code. I know I totally love dogs...