How to check IP addressdepending on the address you want to search for.Local IP (private)is the address of a device on a home or office network, for example192.168.1.12; whereas public IPThis is the address visible to the internet on your connection path. These two often differ because routers and internet providers use NAT, CGNAT, or IPv6. Therefore, visiting a “check IP” website doesn’t always show your phone or laptop’s local address.
This guide updates how to view IPv4 and IPv6 addresses on Windows 11/10, Android, iPhone, macOS, and Linux, including secure commands via Command Prompt or Terminal. The menu steps may vary depending on the operating system version and device manufacturer. The primary focus is on finding the correct IP address for troubleshooting, router setup, remote access, and network testing without revealing personal information.
How to Check IP Address on Cellphone
For mobile phone users, here are the steps you can take to check your device’s IP address.
1. Open the Settings Menu
The first step is to open the settings menu on your phone. To do this, find the “Settings” icon on the home screen or app menu, then tap it to access the settings menu.
2. Select Wi-Fi or Network & Internet
Once in the settings menu, look for the “Wi-Fi” or “Network & Internet” option. On this page, you’ll find a list of available Wi-Fi networks around you. Select the network you’re currently using to continue.
3. Check IP Address
After selecting the Wi-Fi network you’re using, you’ll see detailed information about it. Here, you can find your device’s IP address, which is usually located at the bottom or in the section labeled “IP Address.”
4. Check via Terminal or CMD
Besides using Settings, you can also use the Terminal or Command Prompt app to check your IP address. Open the Terminal or Command Prompt app on your device, then type the command “ipconfig” or “ifconfig” and press enter. Information about your network connection, including your device’s IP address, will be displayed.
Keep in mind that the IP address may be different if you’re using a different Wi-Fi network or cellular data connection.
How to Check IP Address on Laptop
For laptop users, here are several methods you can use to check your device’s IP address.
1. Click the Network Icon
The first step is to click the network icon located on your laptop’s taskbar, usually in the bottom-right corner of the screen. After clicking the icon, a list of available and currently connected networks will appear.
2. Go to Change Adapter Settings
Next, select “Open Network and Sharing Center” or “Network & Internet Settings” to open the network settings page. Find and click the “Change adapter settings” or “Change connection settings” option to access the network adapter settings page.
3. Click Status Details to find out the IP Address
In the network adapter settings page, locate and right-click the network adapter you’re using, whether it’s Ethernet or Wi-Fi. Select the “Status” option to open the network adapter status page. Here, you’ll find complete information about your network connection, including the IP address used by your laptop.
4. Check via CMD
Another way to check your laptop’s IP address is through the Command Prompt. Open the Command Prompt application by typing “cmd” in the search box on the Start menu, then press “Enter.” In the Command Prompt window, type “ipconfig” and press “Enter.” Information about your network connection, including your laptop’s IP address, will be displayed.
How to Find Out Your IP Address in Several Other Ways
Electronic devices that can access the internet must have an IP address. However, this address isn’t immediately visible in your browser. You need to take several steps to find it. Here are the steps you can take to find your device’s IP address.
1. Via Command Prompt on Windows
For Windows users, you can easily find your IP address using the Command Prompt. Here are the steps:
- Open Command Promptby typing “cmd” in the Start Menu search field and pressing Enter.
- Type the command“ipconfig”and press Enter.
- Your IP Address will appear below the description.“IPv4 Address” or “IPv6 Address”in the displayed output.
By following these steps, you can quickly find the IP address of your Windows device.
2. Via Terminal on macOS
For Apple device users with macOS, you can find your IP address through Terminal. The steps are as follows:
- Open Terminalby searching for “Terminal” in Spotlight or through the Applications > Utilities folder.
- Type the command“ifconfig”and press Enter.
- Your device’s IP Address can be found under the description“inet”on the output that appears.
This process is similar to the one in Windows and is quite easy for macOS users to follow.
3. Via Network Settings on Mobile Device
Finding your IP address on a smartphone is also very easy. Here’s how to find your IP address on a mobile device:
- Open Arrangementon your device.
- Select an option“Wi-Fi”if you are connected via Wi-Fi, or“Mobile Data”if using cellular data.
- Find the network you are using and tap it to see details.
- IP Address will usually be listed below the description“IP Address”.
These steps apply to various types of smartphones, both Android and iOS.
4. Through the IP Address Information Provider Website
If you’re still having trouble finding your device’s IP address using the methods above, there’s an easier way to use an online service. You can visit a website that provides IP address information. Here are the steps:
- Open a browser and visit a site likewhatismyip.com or iplocation.net.
- The site will automatically display your device’s IP Address on the main page.
This method is very practical and doesn’t require any special technical knowledge. You only need internet access and a browser to obtain IP address information.
By understanding and implementing the steps above, you can easily find the IP address of your device, whether it’s a computer, laptop, or smartphone. Knowledge of IP addresses is crucial for managing your network, maintaining security, and optimizing your internet connection.
Difference between Public IP, Private IP, IPv4, and IPv6
In a home setting, a laptop can be used192.168.1.10while outgoing connections use the public IP of the router or ISP. Private IPv4 addresses according toIANA including 10.0.0.0/8, 172.16.0.0/12, And 192.168.0.0/16. Do not assume the entire address172.x.x.xprivate; only that specific range.
| Type | Illustrative example | Where to find it |
|---|---|---|
| local IPv4 | 192.168.1.20 |
Wi-Fi settings oripconfig |
| Public IPv4 | The outgoing address of the ISP or gateway | IP checker site or router dashboard |
| IPv6 | 2001:db8::1234(documentation) |
Adapter and connection details |
| Local gateway | 192.168.1.1 |
Network/router details |
A public IP address can also be a shared address, not a unique identifier or precise physical location. VPNs and proxies can alter the public address visible to the destination. When examining the definition of an IP address, distinguish routing addresses from personal identification data.
How to Check IP Address in Windows 11 and Windows 10
Via the Settings menu
Open Settings → Network & Internet, select connectionWi-Fi or Ethernet, then lookProperties or Hardware properties. Look for the IPv4 address, IPv6 address, DNS server, and default gateway fields. The display may change depending on your Windows version, but this step is safe and won’t change the configuration.
Via CMD: ipconfig
Open Command Prompt or Windows Terminal and runipconfigMicrosoft documentation states this command displays the IPv4 and IPv6 addresses, subnet mask, and default gateway. For adapter details including DNS, useipconfig /all. Be careful when sharing results that contain hostnames or internal adapters. You do not need to runipconfig /release or /renewjust to check the address because that command can disrupt the connection.
How to View Local IP on macOS and Linux
Mac via System Settings
On macOS, openSystem Settings → Network, select the active Wi-Fi or Ethernet, then look at Details for TCP/IP information. You can use Terminal if that’s more convenient; note that the Wi-Fi interface name can vary from Mac to Mac.
Linux via Terminal
Order ip -brief addrshows the interface address briefly on modern Linux systems that useiproute2. Order IP routehelps find the default gateway. Avoid equating loopback interfaces127.0.0.1 or ::1with an address that can be accessed from other devices.
How to Check Public IP from Browser or Router
Use a reputable IP checker service to view the address visible from external sites. The results may be IPv4 or IPv6 depending on the connection and service. On office networks, proxies may display a different gateway address than the router sees. If your goal is port forwarding, compare the WAN IP on your router with the IP your browser sees to determine if your ISP is implementing CGNAT. Do not publish IP addresses, router details, or login tokens alongside troubleshooting screenshots.
Why Can IP Check Results Be Different?
| Findings | Possible causes | Inspection steps |
|---|---|---|
| HP and laptop have different local IPs | Separate DHCP address | View Wi-Fi details for each device |
| IP check site shows the same address | NAT gateway sharing | Compare the LAN IP with the router’s WAN |
| IP changed after restart | Dynamic address from ISP/DHCP | Check lease settings |
| Different results when VPN is active | Outbound route through VPN | Compare before/after VPN |
| Address starts 169.254 | IPv4 link-local due to certain conditions | Check DHCP and local network |
Knowing the IP address helps diagnose the connection but doesn’t prove that the firewall, DNS, or application server are working properly. Check the relevant network layers and restrict configuration changes to systems you own or manage with permission.
Frequently Asked Questions (FAQ)
1. How to check IP address in Windows?
Open Network Settings or run ipconfig in Command Prompt.
2. How to check local IP on Android?
View connected Wi-Fi details via Settings according to the device interface.
3. How to check IP on iPhone?
Open Settings, Wi-Fi, select the active network information icon and find the IP Address.
4. What is a public IP?
The address that the internet service sees from the user’s outgoing connection side.
5. What is the difference between public and private IP?
Private IPs are used on local networks, while public IPs support internet communication according to routes.
6. Is ipconfig safe?
Yes to view configuration; avoid connection changer option if only checking IP.
7. Why are the IPs on the cellphone and the IP check site different?
HP has a local IP, while the site shows the outgoing address of the router, proxy or ISP.
8. Why does the IP change after restarting the router?
ISP or DHCP can provide dynamic addresses.
9. How to view IPv6?
Check the network interface details or the output of ipconfig and ip -brief addr.
10. Does the IP show the location of the house?
Not precisely; IP geolocation has limitations.
11. What does the address 127.0.0.1 mean?
A local loopback that points to the device itself, not the public IP.
12. Does using a VPN change the visible IP?
Often yes, depending on the VPN routing and the service being accessed.
External References
- Microsoft — ipconfig command
- IANA — Private-Use IP Addresses
- IETF — RFC 1918 Address Allocation
- IANA — IPv4 and IPv6 Registries