Skip to main content
  1. Posts/

Get the public-facing IP for any server with

·71 words·1 min·

There are a ton of places on the internet where you can check the public-facing IP for the device you are using. I’ve used plenty of them, but I’ve always wanted one that just returned text. You can get pretty close with, but there is still HTML in the output:

$ curl
Current IP Address:

I wanted something simpler, so I set up

$ curl