How to Find Your IP Address on Windows

Find your Windows PC's local IP address with ipconfig or in Settings, and your public IP address with one command.

Your PC has a local IP address on your home or office network (usually 192.168.x.x or 10.x.x.x) and shares a public IP address with everything else behind your router. Here is how to find both on Windows 10 and 11.

Run ipconfig in Command Prompt

Press Windows + R, type cmd, and press Enter. Then run:

ipconfig

Find the adapter you are using (Wi-Fi or Ethernet) and read the IPv4 Address line. That is your local IP.

Find it in Settings instead

Open Settings, then Network & internet. Click Wi-Fi or Ethernet, then click your connection's properties. Scroll down to IPv4 address.

Find your public IP

In Command Prompt or PowerShell:

curl ifconfig.me

This asks an outside server which address your request came from. Searching "what is my IP" in a browser gives the same answer.

Local vs public. Use the local address for things on your own network, like reaching a dev server from another device. Use the public one for anything on the internet, like adding yourself to a server's allowlist.

More Windows how-tos