How can I use CURL IP.CC to check my public IP from the command line? or Is CURL IP.CC the easiest wa

22 Replies, 1880 Views

CURL IP.CC not working? Might be DNS. Try `curl --resolve ip.cc:80:1.1.1.1 ip.cc`.

Or just `curl ifconfig.me`—it’s foolproof.

For fun, `curl lol.uberspace.de/ip` works too (yes, really).
`curl ip.cc` is the classic, but `curl myexternalip.com/raw` is just as fast.

If you’re scripting, `curl -s icanhazip.com` is clean and predictable.

Side note: `telnet ifconfig.me 80` if you’re feeling retro lol.



Users browsing this thread: 1 Guest(s)