curl https://icanhazip\.com # Easy way to find your public IP address that is friendly to CLI users. There are many others, but ask yourself:

1) Do you have to parse the output?

2) Do they have SSL?

3) Have they been around for a while?

4) Are they IPv6 ready?


@climagic I use a tiny thing in my nginx config to make my own ip lookup:

location /ip {
default_type text/plain;
return 200 $remote_addr;

Looks like this in practice:

Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko