How to Find Your IP Address

Your computer uses two IP addresses, both of which are easy to locate

In This Article

Jump to a Section

A TCP/IP computer network uses two kinds of IP addressespublic, also called external, and private, sometimes called internal or local.

You may need the public IP address when setting up a file server or website, while the private IP address is useful for communicating with local devices, forwarding ports from a router, or accessing your router to make network changes.

Learn how to find your public IP on any web browser; how to find your private IP using a Windows, macOS, or Linux device; and how to find your router's local IP address.

How to Find the IP Address in My House

The public IP address is the "face" of the network. It's the one IP address that all your local networked devices use to interface with the internet to access websites.

On a home network, the public IP address belongs to the router because the router communicates with devices outside of the local network.

However, there are easier ways to find your IP address than by digging around in your router. Below are a few websites that can identify your public IP address. Open one on your computer or mobile device to have it display the internet address:

Since this information is public, to some degree, you can sometimes find the owner of an IP address by searching for their address on an IP lookup website.

If you run a VPN, the IP address shown on an IP finding website only shows the address that the VPN uses, not the true address that the ISP assigned to your network.

How to Find Your Private IP Address on a Computer

The private IP address is the address that every device on a local network must have if they want to communicate with the router and other devices. It facilitates communication between all the local devices and ultimately allows each one to access the internet.

If several devices on a local network use the same IP address, an IP address conflict occurs.

How to Find the Local IP in Windows

On all modern versions of Windows, running the ipconfig utility from Command Prompt or the Windows PowerShell displays a list of addresses assigned to the PC.

If you're connected to the local network through Wi-Fi, the active IP address appears under the Wireless LAN adapter Wireless Network Connection section of the ipconfig output. If you're connected by an Ethernet cable, the address appears under Ethernet adapter Local Area Connection. If connected to both networks simultaneously, both IP addresses display.

The winipcfg utility was used to identify IP addresses only on old versions of Windows (Win95/98 and Windows ME).

ipconfig results in powershell

How to Find the Local IP in macOS

On Apple Mac devices, local IP addresses can be found in two ways.

The first is with System Preferences. Open the Network pane to see the IP address listed under Status.

The other way is a little more complicated. Open the Terminal utility and run the ifconfig command. The IP address (along with other local network configuration details) is listed next to the name inet.

Listed along with the IP address is something called a loopback address. You can ignore that entry.

How to Find the Local IP in Linux

Linux IP addresses can be found by running the ifconfig utility. The IP address is listed next to the name eth0.

Linux ifconfig utility results

How to Find Your Router's Local IP Address

A TCP/IP network router normally maintains two IP addresses of its own.

One is the private IP address that the router needs to communicate with the other devices on the network. It's this address that all the devices have set up as their default gateway address, since all network information must pass to the router's private address before going outside the network.

It's also the same IP address that you need when you log in to your router to set up a wireless network or make other changes to the settings.

Learn how to find your default gateway IP address if you need help tracking it down in Windows.

The other address a router holds is the public IP address that must be assigned to the network for the devices in the network to reach the internet. This address, sometimes called the WAN IP Address, is stored in different places depending on the router. This IP address, however, isn't the same as the router's local address.

Was this page helpful?