Find your Public IP

Type in the following command on your Mac Terminal to see the Public IP of your system.

dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

This is useful when you’re trying to get public IP for a server. For your own laptop, you can hit http://ipchicken.com/ and it would give you your Public IP address.

Advertisements