Your IP address is the digital return address your device uses to communicate on the internet. Understanding how to locate this identifier is essential for troubleshooting network issues, configuring security settings, or simply satisfying technical curiosity. This guide provides a clear, step-by-step method to find your public and private IP addresses across various platforms.
Understanding the Two Types of IP Addresses
Before learning how to find your address, it is important to distinguish between the two primary types. Your public IP is the single address assigned by your internet service provider to your entire network, making you visible to the outside world. The private IP, conversely, is used within your local network to identify specific devices like your laptop or printer. You may need to find either one depending on your goal.
Finding Your Public IP Address
The simplest method to find your public address is to use a dedicated website. These services detect the address visible to the internet, which is often sufficient for most users. Follow these steps to retrieve it instantly.
Method 1: Using a Website
Open your preferred web browser on the device you want to check.
Navigate to a reliable service such as whatismyip.com , ipinfo.io , or search "What is my IP" on a search engine.
The website will display your public IP address prominently at the top of the page.
Finding Your Private IP Address
To see the address used within your local network, you must access the settings of your operating system. This is necessary for tasks like port forwarding or allowing specific applications through a firewall.
On Windows
Open the Command Prompt by pressing the Windows key, typing cmd , and pressing Enter. Type ipconfig and press Enter. Look for the line labeled "IPv4 Address" under your active connection, such as 192.168.1.100 .
On macOS
Open the System Settings, click on "Network," and select your active connection (Wi-Fi or Ethernet). The IP address will be listed next to "IP Address." Alternatively, open the Terminal and type ifconfig and look for inet under the active interface.
On Linux
Open the Terminal window. You can use the ip a command or the older ifconfig command to display the network configuration. The private address appears next to the interface name, usually eth0 for wired or wlp3s0 for wireless.
Checking Mobile Device IPs
Mobile devices follow a similar principle but are accessed through different menus. You can find both public and private addresses depending on your needs.
On iPhone or iPad
Go to Settings > Wi-Fi, tap the "i" icon next to your connected network. The IPv4 Address field shows your private local address. To find the public address, you must open Safari and use one of the websites mentioned earlier, as this information is not displayed in the settings.
On Android
Navigate to Settings > Network & internet > Mobile network or Wi-Fi. Tap on the currently connected network. The IP address is usually listed under "Network" or "Advanced," depending on the device manufacturer. For the public address, use a mobile-friendly browser site.
Using Command Line Tools
For users who prefer the terminal or command prompt over graphical interfaces, the operating system provides direct commands to retrieve network information. This method is often the fastest for experienced users.
Operating System