3 ms·
I got tired of sending people to ad laden websites, some of them quite obnoxious, just for an IP. So I made this. No ads, no affiliation with anybody but the g
by geocrasher 5y ago
I got tired of sending people to ad laden websites, some of them quite obnoxious, just for an IP. So I made this.
No ads, no affiliation with anybody but the guy who made it, just a place to get Just Your IP.
- rdubs333 5y agoOne does not simply upvote to the top alone! Thank you, bookmarked!
- geocrasher 5y agoThanks!
- easrng 5y agoThere's also icanhazip.com and /cdn-cgi/trace on any Cloudflare-proxied site.
- ksbrooksjr 5y agoI didn't know about the /cdn-cgi/trace Cloudflare trick. Here's a one-liner to print just the ip via curl: curl -s cloudflare.com/cdn-cgi/trace | grep ip | cut -d "=" -f 2 --
- stevekemp 5y agoYou could use awk instead of grep & cut: curl -s cloudflare.com/cdn-cgi/trace | awk '{FS="="} /ip/ {print $2}'
- luismedel 5y agoAnd sed: curl -s cloudflare.com/cdn-cgi/trace | sed -nr "s/^ip\=(.+)$/\1/p"
- btgeekboy 5y agoThat may return IPv6 if you have IPv6 connectivity, which might not be what you're looking for. I just do this, myself: IP=`curl -s checkip.amazonaws.com`
- I_complete_me 5y agoWhat do those -- at the end do? I get my IP without them.
- indrora 5y agoGosh, and here I feel like an Old for remembering the big list: * http://checkip.dyndns.com/ http://checkip.dyndns.com/ * http://ip1.dynupdate.no-ip.com/ http://ip1.dynupdate.no-ip.com/ * https://ipchicken.com/ https://ipchicken.com/ * https://ifconfig.me https://ifconfig.me or, the classic "let TTL do the work": ping -i 2 example.org (assuming you're one hop from your egress)
- dave_sid 5y agoHow about a sister site called notyourip.com that shows someone else’s IP address?