How to Find My Public IP

Table of Contents

Using Linux command line.

IPv4

1
2
curl ifconfig.me
curl ipecho.net/plain

IPv6

1
2
3
curl icanhazip.com
curl ifconfig.co
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com
John Siu
Minimize the Effort, Maximize the Effect!
comments powered by Disqus