Live data from Hacker News

Show HN: Echo your external IP address with 'curl echoip.xyz'

github.com

1–5 of 5 posts

Re: Show HN: Echo your external IP address with 'curl echoip.xyz'

#4
post #3
post #2

Thanks, but there's so many such services out there already.

Which one do you use?

Valid question. I knew that someone had to have done it - a quick search shows ifconfig.me as being such a service, but wanted a simpler one that anyone can hack on.

echoip.xyz is written in pure PHP and can be self-hosted without any dependencies other than PHP, and is very transparent in what it does.

ipconfig.me also outputs "Moved Permanently. Redirecting to https://ifconfig.me/%" as of right now with the "curl ipconfig.me" command.