To see an IP address, run a system command or check router settings. Every device on a network has both a private and public IP address.
IP addresses function as unique identifiers for devices on a network. They come in two forms: private (used within local networks) and public (assigned by internet service providers). When you visit websites, your public IP is visible to them.
| Type | Range | Usage |
|---|---|---|
| Private IP | 10.0.0.0 to 10.255.255.255 | Local network communication |
| Public IP | Varies by ISP | Internet communication |
On Windows, open Command Prompt and type ipconfig. On Mac, use ifconfig in Terminal. Linux users can also use ifconfig or ip a. Look for the line labeled "IPv4 Address."
Many people confuse their private and public IP addresses. Your private IP is only visible within your local network, while your public IP is visible to the entire internet., some believe that hiding their IP makes them completely anonymous online, which is not true.
Knowing your IP address helps with network troubleshooting, setting up port forwarding, or verifying VPN connections. It also allows you to check if your privacy settings are working correctly. For example, if you're using a VPN, your public IP should match the VPN server's IP.
I once helped a friend set up a home server. By checking their public IP, we ensured the server was accessible from outside their network. This step was important for remote access.