6 Easy Ways to See Your IP Address on PC, Mac, Android & iOS

Download Article
The easiest ways to find your IP address on any device
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 How.com.vn 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

  • To quickly view your public IP address, go to https://www.google.com, type "What's my IP address?" and click the search button.
  • Your public IP address is visible to other people on the internet, while your private IP address is only used on your local network.
  • If you're using Windows, you can use the "ipconfig" command at Command Prompt to quickly view your IP address.
Section 1 of 7:

Public Vs. Private IP Addresses

Download Article
  1. How.com.vn English: Step 1 Your public IP address is visible to people outside of your home or office network.
    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. How.com.vn English: Step 2 Your device's private IP address identifies it on your local network.
    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.
  3. Advertisement
Section 2 of 7:

Find Your Public IP Address on Any Device

Download Article
  1. How.com.vn English: Step 1 Go to https://www.google.com...
    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. How.com.vn English: Step 2 Type What's my IP address?
    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. How.com.vn English: Step 3 Find your public IP address at the top of the page.
    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.
  4. Advertisement
Section 3 of 7:

Find Private IP Address on Windows

Download Article
  1. How.com.vn English: Step 1 Press the Windows key on your keyboard.
    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. Step 2 Type "cmd" and press ↵ Enter.
    This opens a Command Prompt window.[3]
  3. How.com.vn English: Step 3 Type ipconfig and press ↵ Enter.
    This will display all of your networking information. You may have to expand the Command Prompt window to see it all.[4]
  4. How.com.vn English: Step 4 Find your private IP address under your wireless or ethernet adapter.
    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. How.com.vn English: Step 5 Other ways to find your private IP address on Windows.
    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."
  6. Advertisement
Section 4 of 7:

Find Private IP Address on Mac

Download Article
  1. How.com.vn English: Step 1 Open your System Settings (Ventura and later) or System Preferences (Monterey and earlier).
    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. How.com.vn English: Step 2 Click Network.
    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. How.com.vn English: Step 3 Select your network connection.
    For example, if you're connected to Wi-Fi, choose that option.[6]
  4. How.com.vn English: Step 4 Find your IP address.
    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.
  5. Advertisement
Section 5 of 7:

Find Private IP Address on Linux

Download Article
  1. How.com.vn English: Step 1 Open a Terminal window.
    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. How.com.vn English: Step 2 Type hostname -i and press ↵ Enter.
    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.
  3. Advertisement
Section 6 of 7:

Find Your Private IP Address on Android

Download Article
  1. How.com.vn English: Step 1 Open the Settings app icon.
    You'll find this in your app list, as well as in your quick settings.
  2. How.com.vn English: Step 2 Tap Network & Internet.
    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. How.com.vn English: Step 3 Tap Wi-Fi.
    If you don't see this option, tap Internet instead.
  4. How.com.vn English: Step 4 Tap the wireless network you're connected to.
    On some Androids, you'll now see the IP address. If you don't see it, continue to the next step.
  5. How.com.vn English: Step 5 Tap Advanced or Configure if the IP address isn't visible.
    If you don't see one of these options, tap the three dots at the top-right corner first.
  6. Step 6 Find your IP address next to "IP Address."
    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]
  7. Advertisement
Section 7 of 7:

Find Private IP Address on iPhone/iPad

Download Article
  1. How.com.vn English: Step 1 Open your iPhone's Settings icon.
    You'll find this app on your Home screen or in your app library.
  2. How.com.vn English: Step 2 Tap Wi-Fi.
    You'll see it near the top of the menu.
  3. How.com.vn English: Step 3 Tap the ⓘ icon next to your wireless network.
    It's the small "i" inside of a circle.
  4. Step 4 Scroll down to the "IP Address" section.
    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?
    How.com.vn English: Luigi Oppido
    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.
    How.com.vn English: Luigi Oppido
    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?
    How.com.vn English: Community Answer
    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?
    How.com.vn English: Community Answer
    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
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      References

      1. Luigi Oppido. Computer & Tech Specialist. Expert Interview. 10 June 2020.
      2. Luigi Oppido. Computer & Tech Specialist. Expert Interview. 10 June 2020.
      3. Luigi Oppido. Computer & Tech Specialist. Expert Interview. 10 June 2020.
      4. Luigi Oppido. Computer & Tech Specialist. Expert Interview. 10 June 2020.
      5. https://support.microsoft.com/en-us/windows/find-your-ip-address-in-windows-f21a9bbc-c582-55cd-35e0-73431160a1b9#Category=Windows_10
      6. https://support.apple.com/guide/mac-help/use-dhcp-or-a-manual-ip-address-on-mac-mchlp2718/mac
      7. https://help.ubuntu.com/stable/ubuntu-help/net-findip.html.en
      8. https://www.tp-link.com/us/support/faq/2375/

      About This Article

      How.com.vn English: Luigi Oppido
      Co-authored by:
      Computer & Tech Specialist
      This article was co-authored by Luigi Oppido and by How.com.vn staff writer, Nicole Levine, MFA. 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. This article has been viewed 2,176,766 times.
      How helpful is this?
      Co-authors: 90
      Updated: June 3, 2023
      Views: 2,176,766
      Categories: IP Addresses
      Thanks to all authors for creating a page that has been read 2,176,766 times.

      Reader Success Stories

      • How.com.vn English: Marilyn Ndubi

        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?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement