How to Find Your IP Address on Windows 10 & 11
Find Your IP Address on Windows
Whether you need your public IP for troubleshooting or your private IP for network configuration, Windows gives you several ways to find both.
Method 1: Find Your Public IP Instantly
Open any browser and visit HackMyIP.com. Your public IP address is displayed immediately, along with your location, ISP, and connection type. This is the address that websites and online services see.
Method 2: Using Windows Settings
Method 3: Using Command Prompt
cmd, press Enteripconfig and press EnterFor more detail, use ipconfig /all to see DNS servers, DHCP status, and MAC address.
Method 4: Using PowerShell
Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'}Find Your Public IP from Command Line
To get your public IP directly from the command line, run: curl https://hackmyip.com/api/ip. This returns your public IP in JSON format, useful for scripts and automation.
Troubleshooting IP Issues on Windows
If your IP shows as 169.254.x.x, your computer failed to get an address from DHCP. Try running ipconfig /release followed by ipconfig /renew. If problems persist, restart your router.
For privacy and security testing, run a DNS leak test and WebRTC leak test to ensure your VPN is working properly on Windows.
Frequently Asked Questions
How do I find my IP address on Windows?
For your public IP, open any browser and visit HackMyIP.com, which displays it instantly with your location and ISP. For your private IP, press Win + I to open Settings, go to Network & Internet, click Properties on your active connection, and find your IPv4 and IPv6 address.
How do I find my IP address using Command Prompt?
Press Win + R, type cmd, and press Enter. Then type ipconfig and press Enter, and find IPv4 Address under your active adapter. For more detail, use ipconfig /all to see DNS servers, DHCP status, and MAC address.
How do I find my IP address with PowerShell?
Right-click Start and select Terminal or PowerShell, then run Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'} to list your IPv4 addresses.
How do I get my public IP from the Windows command line?
Run curl https://hackmyip.com/api/ip. This returns your public IP in JSON format, which is useful for scripts and automation.
Why does my Windows IP show as 169.254.x.x?
A 169.254.x.x address means your computer failed to get an address from DHCP. Try running ipconfig /release followed by ipconfig /renew, and if problems persist, restart your router.