Skip to content

How to get my public IP from browser and command line

homepage-banner

Get Public IP

  • https://proxy.mimvp.com/ip.php
  • https://myip.ipip.net (curl -s myip.ipip.net)
  • https://ifconfig.me (curl -s ifconfig.me)
  • http://whatismyip.akamai.com (curl -s whatismyip.akamai.com)
  • https://checkip.amazonaws.com/
  • https://api.ipify.org/
  • https://ipinfo.io/ip
  • https://icanhazip.com/
  • Google search What's my ip?

Get Public IP from Cloud Service Internal

  • AWS: curl http://169.254.169.254/latest/meta-data/public-ipv4 && echo
  • GCP: curl -H "Metadata-Flavor: Google" http://metadata.google.internal/computeMetadata/vl/instance/network-interfaces/0/access-configs/0/external-ip

Speed Test Website

  • https://fast.com
  • https://speed.cloudflare.com
  • https://ping.chinaz.com
  • https://www.17ce.com
  • https://www.linode.com/speed-test
  • https://www.speedtest.net/
  • https://ip.skk.moe/
  • https://ip.sb/
Buy Me a Coffee