How to Find Your Public or Private IP Address: 6 Simple Ways (original) (raw)

PDF download Download Article

The easiest ways to find your IP address on any device

PDF download Download Article

Do you need to find your computer, phone, or tablet's IP address? When it comes to your home or office computer, phone, or tablet, you'll typically have two IP addresses—a public IP address that's visible to other people on the internet, and a private IP address that's used to identify your device on your local network. This wikiHow article will show you the easiest ways to find both your public and private IP addresses on any device, including your Windows, Mac, or Linux computer, and your Android, iPhone, or iPad.

Things You Should Know

  1. When you browse the internet, download files, or stream music, remote servers can see your public IP address. Because of how most home and office networks are set up, all of the devices (computers, printers, phones, etc.) connected to the internet through the same router will appear to have the same public IP address to the outside world.
    • Other people on the internet can see your public IP address. For example, if you connect to a friend's Minecraft server from your PC, your friend will see the connection coming from your public IP address.
    • Some reasons you might need your public IP address: Hosting a game or media server, you want to allow someone to connect to your computer remotely, or you're just curious about the address that identifies you on the internet.
    • If you're concerned about your public IP address identifying you on the internet, you can use a VPN to be more anonymous.
  2. A private IP address is assigned to each device by your router and is not visible to or reachable from outside of the network.[1] Each device (such as your phone, computer, and printer) has its own unique private IP address on the network, even though they'll all appear to have the same IP address to the outside world.
    • Some reasons you might need your private IP address: Setting up file sharing, port forwarding on a router, and adding devices to your home network.
    • Your router also has its own private IP address, which is called the default gateway. Check out our guide on finding your router's IP address if you need to make changes to your router.

Advertisement

  1. Go to https://www.google.com in any web browser. The easiest way to see your public IP address on any device, such as on your computer, Android, iPhone, or iPad, is to use this handy web browser trick.
  2. and press ↵ Enter or ⏎ Return. You can also type a different variation of that phrase, such as "my IP address" or "What's my IP?"
  3. At the top of the page, you'll see your IPv4 or IPv6 IP address.
    • An IPv4 IP address is a 4-octet number address, which will look something like this: 107.178.192.0
    • An iPv6 IP address is longer and may contain both letters and numbers. For example: 2001:0db8:3c4d:0015:0000:0000:1a2f:1a2b
    • If you're checking your public IP address on a phone that's connected to the internet through your mobile provider's data plan, you'll see the public IP address assigned to you by your mobile phone provider. If you're connected to Wi-Fi, you'll see the public IP address of your Wi-Fi network.

Advertisement

  1. This will open the Start menu or screen on Windows 11, Windows 10, and Windows 8.[2]
    • On Windows 7 and earlier, you can select the Command Prompt from the Start menu and then skip to Step 3.
  2. This opens a Command Prompt window.[3]
  3. This will display all of your networking information. You may have to expand the Command Prompt window to see it all.[4]
  4. If you're connected to the internet using Wi-Fi, you'll find your IP address under the "Wireless LAN adapter Wi-Fi" heading. If you have a wired ethernet connection, you'll find the IP address under the "Ethernet adapter" heading.
    • If your network is using IPv4, which is most common, you'll see the IP address next to "IPv4 Address."
    • If your network is using IPv6, your IPv6 address will appear next to "Link-local IPv6 Address."
    • If you have both an IPv4 and IPv6 IP address listed, the address you're looking for is likely the IPv4 address.
  5. While the previous steps will work on all versions of Windows, you can also use these operating system-specific steps to quickly view your IP address:
    • Windows 11:
      * Click the Windows Start menu, go to Settings > Network & internet, choose either Wi-Fi or Ethernet, and find your IP address under "Properties."
    • Windows 10:
      * Click the network icon on your taskbar—it'll be the Wi-Fi bar symbol or a small computer.[5]
      * Click your connection. If you're connected to Wi-Fi, select the Wi-Fi network name. For ethernet, choose your ethernet network.
      * Find your IP address under "Properties."

Advertisement

  1. Depending on your version of macOS, you'll find one of these two options in the Apple menu at the top-left corner of your screen.
  2. On macOS Ventura, you'll see this in the left panel. On Monterey and earlier, it'll be an icon in the System Preferences window.
  3. For example, if you're connected to Wi-Fi, choose that option.[6]
  4. If you're using macOS Monterey or earlier, you'll see your IP address in the right panel. On Ventura or later, click Details under your connection in the right panel to display your IP address.
    • On much older versions of OS X, you'll need to click the "TCP/IP" tab at the top of the window to see the "IP Address" entry.

Advertisement

  1. You can easily view your Linux computer's IP address with simple commands. Start by opening a Terminal, which you can usually do by pressing Ctrl + Alt + T.
    • If you're using Ubuntu Linux, you can also pull up your IP address without having to type commands. Just go to Activities overview, type settings, click Settings, select your connection type (e.g., Wi-Fi or Network > PCI Ethernet), and then click the gear icon next to your connection.[7]
  2. This displays the private IP address on your Linux desktop or server.
    • While the ifconfig command used to be used to display IP info, the command is now deprecated.

Advertisement

  1. You'll find this in your app list, as well as in your quick settings.
  2. Because all Android interfaces are a little different, the name of the Settings option you're looking for may vary. This section may also be called Wireless & Networks.
  3. If you don't see this option, tap Internet instead.
  4. On some Androids, you'll now see the IP address. If you don't see it, continue to the next step.
  5. If you don't see one of these options, tap the three dots at the top-right corner first.
  6. You might have to scroll down to see it.
    • If these steps don't work for your Android, try opening Settings, and then tap About phone > Status.
    • You can also try System > About phone > Status.[8]

Advertisement

  1. You'll find this app on your Home screen or in your app library.
  2. You'll see it near the top of the menu.
  3. It's the small "i" inside of a circle.
  4. This will display your iPhone's IP address on your local Wi-Fi network.

Advertisement

Add New Question

See more answers

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

Advertisement

Video

Thanks for submitting a tip for review!

Advertisement

About This Article

Thanks to all authors for creating a page that has been read 2,205,401 times.

Is this article up to date?