Windows shows your private IP (the address on your local network). To see your public IP — the one websites see — open our home page on that computer.
Method 1: Settings (Windows 11)
- Press Windows + I to open Settings.
- Select Network & internet.
- Click Wi-Fi (or Ethernet), then the name of your connection.
- Scroll to IPv4 address — that is your private IP. Your IPv6 address is listed just above it if you have one.
Method 2: Settings (Windows 10)
- Open Settings → Network & Internet.
- Click Properties under your current connection (or View hardware and connection properties).
- Look for IPv4 address.
Method 3: Command Prompt
- Press Windows + R, type
cmdand press Enter. - Type
ipconfigand press Enter. - Under your active adapter ("Wireless LAN adapter Wi-Fi" or "Ethernet adapter"), find:
- IPv4 Address — your private IP, e.g.
192.168.1.24 - Default Gateway — your router's IP, e.g.
192.168.1.1
- IPv4 Address — your private IP, e.g.
Run ipconfig /all to also see your MAC address ("Physical Address") and DNS servers.
Method 4: PowerShell (public IP too)
Open PowerShell and run:
Get-NetIPAddress -AddressFamily IPv4 | Where-Object PrefixOrigin -ne 'WellKnown'
To print your public IP from the same window, run:
curl.exe https://ipclarify.com
It returns just your IP as plain text.
Which IP do I need?
- Setting up port forwarding, a printer or a game server on your network? Use the private IPv4 address.
- Giving someone access from outside, whitelisting a server or checking a VPN? Use your public IP from our home page.
- Opening your router settings? Use the default gateway — see how to find your router's IP.
Troubleshooting
If ipconfig shows an address starting with 169.254, Windows could not get an address from your router. Restart the router, then run ipconfig /release followed by ipconfig /renew in Command Prompt.