Created
January 15, 2021 00:00
-
-
Save DominicWatts/e7a00cc90c929546d9ff312e96a48b59 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