How to Find Public IP Address in Linux or Windows.

Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

For Windows

To find public ip address in windows just visit the below website it will show you the ip.

https://www.whatismyip.com

For linux

If you are using terminal and want to find your public ip address, then you have to run the below command in your terminal

wget –O – –q https://checkip.amazonaws.com
curl –s https://icanhazip.com