How to Find Public IP Address in Linux or Windows.

Table of Contents

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