HackMyIP
← back to sheets

How to Find Your IP Address on Windows 10 & 11

~/sheets/how-to-find-ip-address-on-windows.md
1

Find Your IP Address on Windows

2

Whether you need your public IP for troubleshooting or your private IP for network configuration, Windows gives you several ways to find both.

3

Method 1: Find Your Public IP Instantly

4

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.

5

Method 2: Using Windows Settings

6
    7
  1. Press Win + I to open Settings
  2. 8
  3. Go to Network & Internet
  4. 9
  5. Click Properties on your active connection (Wi-Fi or Ethernet)
  6. 10
  7. Scroll down to find your IPv4 address and IPv6 address
  8. 11
    12

    Method 3: Using Command Prompt

    13
      14
    1. Press Win + R, type cmd, press Enter
    2. 15
    3. Type ipconfig and press Enter
    4. 16
    5. Find IPv4 Address under your active adapter (Wi-Fi or Ethernet)
    6. 17
      18

      For more detail, use ipconfig /all to see DNS servers, DHCP status, and MAC address.

      19

      Method 4: Using PowerShell

      20
        21
      1. Right-click Start, select Terminal or PowerShell
      2. 22
      3. Type Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'}
      4. 23
        24

        Find Your Public IP from Command Line

        25

        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.

        26

        Troubleshooting IP Issues on Windows

        27

        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.

        28

        For privacy and security testing, run a DNS leak test and WebRTC leak test to ensure your VPN is working properly on Windows.

        29
        Last updated: April 2026