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, 1957 Views

`curl ip.cc` is my usual, but `curl ip-api.com/line?fields=query` gives extra deets if you need ‘em.

If you’re getting timeouts, try `curl --connect-timeout 5 ip.cc`.

Also, `httpbin.org/ip` returns JSON if you’re into that.

Messages In This Thread



Users browsing this thread: 1 Guest(s)