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
- How to Boot into Safe Mode on Windows 11
- How to Change DNS Servers on Windows
- How to Change the Default Browser on Windows 11
- How to Check If a Port Is in Use on Windows
- How to Check Which Windows Version You Have
- How to Check Your PC Specs on Windows
- How to Enable Clipboard History on Windows
- How to Flush DNS on Windows
- How to Force Quit a Program on Windows
- How to Free Up Disk Space on Windows 11
- How to Map a Network Drive on Windows
- How to Open Command Prompt as Administrator
- How to Rename Multiple Files at Once on Windows
- How to Show File Extensions in Windows 11
- How to Take a Screenshot on Windows
- How to Turn Off Startup Programs on Windows 11
- How to Turn On Dark Mode on Windows 11
- How to Uninstall a Program on Windows 11
- How to Zip and Unzip Files on Windows