Reese Knowledgebase

How to obtain the public IP of servers on a private network

View Kristian Reese's profile on LinkedIn

If you like this article, please +1 or Recommend via FB with the provided buttons above:

Article ID: 86
by: Reese K.
Posted: 23 Jan, 2013
Last updated: 16 Dec, 2014
Views: 1392

Ever wanted to know what the public IP or NAT is of your private servers is when they go out to the Internet?

wget -q -O -

or using curl:

curl -4

This can come in real handy when try to troubleshoot connectivity between two systems in which you have access to, and provides a little more ammo when seeking assistance from the networking team.

This article was:   Helpful | Not Helpful
External links

Prev   Next
crontab format     How to disable cron from sending email alerts