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

        Frequently Asked Questions

        30

        How do I find my IP address on Windows?

        31

        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.

        32

        How do I find my IP address using Command Prompt?

        33

        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.

        34

        How do I find my IP address with PowerShell?

        35

        Right-click Start and select Terminal or PowerShell, then run Get-NetIPAddress | Where-Object {$_.AddressFamily -eq 'IPv4'} to list your IPv4 addresses.

        36

        How do I get my public IP from the Windows command line?

        37

        Run curl https://hackmyip.com/api/ip. This returns your public IP in JSON format, which is useful for scripts and automation.

        38

        Why does my Windows IP show as 169.254.x.x?

        39

        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.

        40
        Last updated: April 2026