How to Find Your Public IP Address
Method 1: Online Tool (Recommended)
Open this site and your public IP is shown automatically, along with location, ISP, ASN and network details. No software needed.
Method 2: Router Admin Page
Log into your router (usually 192.168.1.1 or 192.168.31.1) and look at the WAN status to find the IP assigned by your ISP.
Method 3: Command Line
- curl ifconfig.me - prints your public IP directly
- nslookup myip.opendns.com resolver1.opendns.com - resolves via DNS
- ipconfig - only shows your local/private IP
Notes
- Most residential lines use dynamic public IPs that may change after a reboot.
- With carrier NAT, your router gets a carrier-internal IP; outbound access still works but inbound connections are limited.
- Using a proxy or VPN shows the proxy server's IP, not your real egress IP.