curl ifconfig.me

Category: Self-Hosting

curl ifconfig.me

Print the server's public IP address — useful when provisioning behind NAT or a load balancer

Queries a web service that echoes back the requesting IP. Tells you your server's public IP address as seen from the internet.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.