John Siu Blog

Tech - Business Tool, Personal Toys

My IP From Command Line

☰ Table of Content

Using Linux command line.

IPv4

1
2
3
4
5
curl https://myip4.johnsiu.com/
curl https://myip4.jsiu.dev/

curl ifconfig.me
curl ipecho.net/plain

IPv6

1
2
3
4
5
6
curl https://myip6.johnsiu.com/
curl https://myip6.jsiu.dev/

curl icanhazip.com
curl ifconfig.co
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com

Web Base

John Siu

Update: 2020-08-28
comments powered by Disqus