Find my IP address: How to Find Private and Public IP Addresses on Windows 10 & 11

How to Find Private and Publis IP Addresses on Windows 10 and Windows 11 blog banner image

This tutorial demonstrates how to find private and public IP addresses in Windows 10 and Windows 11. It includes an explanation of IP addresses, covering the difference between IPv4 and IPV6, as well as the difference between private and public IP addresses.

Instructions are provided for identifying your private IP address using command prompt, PowerShell, and the Windows desktop, as well as online tools for finding your public IP address.

Understanding IP addresses

An IP address is the unique identifier for your device on a network. Much like street addresses, unique IP addresses are required on computer networks so that your device can be located and data can be sent to and received from it.

There are two widely used IP address standards: IPv4 and the more modern IPv6. IP addresses can be public or private, as detailed below. They can also be static or dynamic — static IP addresses won’t change, while dynamically assigned IP addresses change periodically or when a device reconnects.

All network-connected devices should have an IP address, and those that are also connected to the internet will have a public IP address (either for that specific device, or for the device that is providing the internet connection, like a router or tethered phone). Most devices will have an IPv4 address, while IPv6 is still being adopted and may not be available or enabled by default.

IPv4

IPv4 (Internet Protocol version 4) is the most widely used IP address standard. It uses 32-bit addresses formatted as four numbers (each ranging from 0 to 255), separated by periods. An IPv4 address looks like this:

192.168.100.100

IPv4 supports around 4.3 billion unique addresses. While this number seems large, it is not enough to support the current scale of the internet, one of the problems that IPv6 sets out to solve.

IPv6

IPv6 (Internet Protocol version 6) is intended to replace IPv4 (though it is debatable whether it will ever do so, especially for local networks). It supports 340 undecillion unique addresses (approximately 79 octillion times more addresses than IPv4), with the aim that this will be adequate to support the future growth of the internet. An IPv6 address contains alphanumeric characters separated by colons, and it looks like this:

2001:0db8:85a3:0000:0000:8a2e:0370:7334

What is a private IP address?

A private IP address is used on a local network to communicate with devices on the wired or wireless network in your home or office. For example, your laptop and networked printer will have local IP addresses to communicate. Local IP addresses are usually assigned by your router at home, or servers on your enterprise network.

Private IP addresses are only unique to the local network — as local networks are all separate and can’t talk to each other, they have small pools of addresses that are often the same across local networks.

What is a public IP address?

Public IP addresses are used on the internet, and are assigned by your internet service provider. Public IP addresses make devices accessible to the wider internet. Typically, your router will have a public IP address, and pass internet traffic to your devices (like computers, tablets, and streaming devices) using their local IP, rather than exposing each device directly to the internet.

Public IP addresses are globally unique, and no two devices share a public IP address.

How to find your Private IP address on Windows 10 and Windows 11

How to find your local IP address

You can find your local IP address on Windows 10 and Windows 11 devices by opening the Command Prompt and entering the command ipconfig. This will list your current network configuration in the Command Prompt window. From these results, you can locate your active network connection: the local IPv4 address for each network adapter will be listed next to IPv4 Address.

Or, to display a list of only your local IP addresses, you can open PowerShell and enter the following command:

Get-NetIPAddress | Where-Object { $_.AddressFamily -eq “IPv4” -and $_.InterfaceAlias -notlike “*Virtual*” } | Select-Object IPAddress

Your local IP address will generally be IPv4, as IPv6 addresses are globally unique for each device.

You can also use the Windows Settings app to view your local IP address info in Windows 10 and Windows 11:

  • Right-click on the Start menu and click Settings
  • Open Network & internet
  • Click on Properties for your active connection

 Properties 

  • Your local IPv4 address will be displayed next to IPv4 address, along with other network information including your network’s gateway and DNS servers

How to find your public IP address

Your public IP address can be identified by your router and devices outside your local network. It’s easiest to use online services to find it, as each router has different interfaces, and provides different amounts of information.

Searching for “My IP address” in the Google or DuckDuckGo search engines will return your public IP address, or you can use services from NordVPN or WhatIsMyIpAddress.com. Depending on your internet service provider, you may have a public IPv4 or IPv6 address or both. Many users opt to use privacy VPN services to mask their public IP addresses and hide their internet traffic from snooping.

Windows network management for enterprise

Managing the private IP addresses of Windows 10 and Windows 11 devices in an enterprise environment, as well as securing employees’ remote devices from cybersecurity threats, requires additional tools. Endpoint Management by NinjaOne gives you the tools to keep Windows, Apple, and Android devices correctly configured and fully up-to-date from a centralized web console that gives you full oversight over your IT infrastructure and user devices, local or remote.

Next Steps

Building an efficient and effective IT team requires a centralized solution that acts as your core service deliver tool. NinjaOne enables IT teams to monitor, manage, secure, and support all their devices, wherever they are, without the need for complex on-premises infrastructure.

Learn more about Ninja Endpoint Management, check out a live tour, or start your free trial of the NinjaOne platform.

You might also like

Ready to simplify the hardest parts of IT?
×

See NinjaOne in action!

By submitting this form, I accept NinjaOne's privacy policy.

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).