How to Find Public IP Address in Linux or Windows.

LinuxWindows

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours scrolling social media and waste money on things we forget, but won’t spend 30 minutes a day earning certifications that can change our lives.
Master in DevOps, SRE, DevSecOps & MLOps by DevOps School!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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