curl ifconfig.co
If you specifically want IPv4 address, you add -4 switch to the command as below.
curl -4 ifconfig.co
Post a Comment
No comments:
Post a Comment