Created
May 16, 2018 03:18
-
-
Save yufengwng/8a102af4c81e2cb8117fe5b383fdf0c0 to your computer and use it in GitHub Desktop.
Get public IP address programmatically
This file contains hidden or 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
$ curl -si https://ipinfo.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment