PDF download Download Article
Quickly find your public and private IP addresses with this guide
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.

How to Find Your IP Address: At a Glance

  • To quickly view your public IP address, go to whatismyipaddress.com in your web browser.
  • Your public IP address is visible to other people on the internet. Your private IP address is only used on your local network.
  • On Windows, you can use the "ipconfig" command in the Command Prompt to quickly view your IP address.
Section 1 of 7:

Public Vs. Private IP Addresses

PDF download Download Article
  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. [1]
    • 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. 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.
  3. Advertisement
Section 2 of 7:

Find Your Public IP Address on Any Device

PDF download Download Article
  1. Go to whatismyipaddress.com in any web browser. The easiest way to see your public IP address on any device, including your computer, Chromebook, Android, iPhone, or iPad, is to use this handy web browser trick. This will quickly display your IP address–the one that's visible to the websites and apps you use–next to "IPv4 address." If you are using IPv6, you will see an IPv6 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.
Section 3 of 7:

Find Private IP Address on Windows

PDF download Download Article
  1. This will open the Start menu or screen on Windows 11, Windows 10, and Windows 8.
    • 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. This will display all of your networking information. [2] You may have to expand the Command Prompt window to see it all.
  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 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." [3]
    • Windows 10:
      • Click the network icon on your taskbar—it'll be the Wi-Fi bar symbol or a small computer. [4]
      • 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."
  6. Advertisement
Section 4 of 7:

Find Private IP Address on Mac

PDF download Download Article
  1. 1
    Open System Settings on your Mac. To get there, click the Apple menu at the top-left corner of the screen and select System Settings . [5]
    • If you are using an earlier version of macOS, click System Preferences instead.
  2. 2
    Click Network . You will see this in the left panel. macOS Ventura, you'll see this in the left panel.
    • On macOS Monterey and earlier, click the Network icon near the middle.
  3. 3
    Select your network connection. For example, if you're connected to Wi-Fi, choose that option. [6]
    • Be sure to choose the option that says "Connected." Otherwise, you will not see an assigned IP address.
  4. 4
    Click Details to display your IP address. You'll see this under your connection.
    • If you're using macOS Monterey or earlier, you'll see your IP address in the right panel.
  5. Advertisement
Section 5 of 7:

Find Private IP Address on Linux

PDF download Download Article
  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 . [7]
    • 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. [8]
  2. 2
    Type ip addr and press Enter . This displays the private IP address for each network interface (ethernet and Wi-Fi) on your Linux desktop or server.
    • You can also use the command hostname -i to view just the IP address for your current connection.
    • While the ifconfig command used to be used to display IP info, the command is now deprecated.
  3. Advertisement
Section 6 of 7:

Find Your Private IP Address on Android

PDF download Download Article
  1. You'll find this in your app list, as well as in your quick settings.
  2. 2
    Tap Network & Internet or Connections . 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 or Wireless Controls .
    • If you don't see any of these options, just skip to the next step.
  3. If you don't see this option, tap Internet instead. [9]
  4. On some Androids, you'll now see the IP address. If you don't see it, continue to the next step. [10]
  5. Sometimes you'll see an arrow that expands the section, but you may need to tap Advanced , Configure , or a similar option instead. If you don't see any of these options, tap the three dots at the top-right corner first.
  6. You might have to scroll down to see it. [11]
    • 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 .
  7. Advertisement
Section 7 of 7:

Find Private IP Address on iPhone/iPad

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

Expert Q&A

Search
Add New Question
  • Question
    How do I locate my IP address?
    Luigi Oppido
    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Computer & Tech Specialist
    Expert Answer
    The easiest way to do this is to go to canyouseeme.org, which will show you your public IP address when the page loads.
  • Question
    I can access any website from my laptop except one. When I try to login it says "403 forbidden access." How can I fix this so that I can login?
    Community Answer
    If this is someone else's website, that is their issue. A 403 error means you are not allowed to view the folder's contents. If it is your server, you can change the .htaccess files to allow viewing of a folder. Typically index.html or home.html automatically load at the root of the website, and you typically don't have to type them out if it is in a folder.
  • Question
    Can I change my IP address for a one time message?
    Community Answer
    You can, and it's very easy. All you need to do is download a VPN. Run the app or program, and it will change your IP to one wherever the VPN server is located. However, this will not make you completely invisible or untraceable.
See more answers
Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

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

      Reader Success Stories

      • Marilyn Ndubi

        Aug 31, 2017

        "Trying to create my website locally before I go live. I downloaded wamp64 and the rest of the steps. However, I ..." more
        Rated this article:
      Share your story

      Is this article up to date?

      Advertisement