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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s