How to check external ip

Run the command:

curl ifconfig.me