-
-
Save DomPixie/767ee7b011d2f984a3da6734874a9ac5 to your computer and use it in GitHub Desktop.
Check IP on server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Check IP address | |
curl | |
curl -s checkip.amazonaws.com | |
curl -s ipv4.icanhazip.com | |
curl -s http://ipv4.icanhazip.com | |
curl -s http://ipv6.icanhazip.com | |
curl -s https://checkip.amazonaws.com | |
wget | |
wget -qO- ipv4.icanhazip.com | |
wget -qO- checkip.amazonaws.com | |
docker | |
docker run --rm curlimages/curl:latest -s checkip.amazonaws.com | |
docker run --rm mwendler/wget -qO- checkip.amazonaws.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment