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.