An Internet Protocol address serves as the unique numerical label assigned to every device connected to a network that uses the Internet Protocol for communication. Whether you are troubleshooting a connection issue, setting up a server, or simply curious about your network configuration, knowing how to get IP address information is a fundamental digital skill. This guide provides clear methods for finding both your local network address and your public-facing address, explaining the difference between them and why the distinction matters for privacy and connectivity.
Understanding Private vs. Public IP Addresses
Before learning how to get IP address details, it is essential to understand the two primary types of addresses. A private IP address is used within your local network, such as your home or office, to identify devices like laptops, smartphones, and printers. This address is typically not routable on the public internet and is often managed by a router using DHCP. In contrast, a public IP address is the unique identifier assigned by your Internet Service Provider (ISP) to your entire network, acting as the gateway for all internet traffic. When you visit a website or stream a video, the destination server sees this public address, not the private addresses of the devices in your home.
Finding Your Address on Windows Systems
For users on Windows machines, the command line interface offers a quick way to retrieve network information. The Command Prompt or PowerShell provides direct access to the system's network configuration without the need for third-party applications. This method is reliable and works across all modern versions of the Windows operating system.
Using Command Prompt
Press Windows Key + R , type cmd , and press Enter to open the Command Prompt.
Type the command ipconfig and press Enter.
Look for the entry labeled IPv4 Address under your active network connection, such as "Ethernet adapter" or "Wireless LAN adapter".
Finding Your Address on macOS and Linux
Users of Apple or Linux systems have access to robust terminal tools that display network configuration with precision. The process is generally faster than navigating through graphical settings menus and provides a level of detail that is useful for advanced users.
Using the Terminal
Open the Terminal application.
Type the command ifconfig or ip addr and press Enter.
Identify your active connection (usually en0 for Wi-Fi or eth0 for Ethernet) and locate the inet address listed beneath it.
Checking Your Address via Graphical Settings
If you prefer a visual approach, both Windows and macOS offer intuitive settings panels where network information is displayed. This method is ideal for users who are uncomfortable with typing commands into a terminal window. The settings provide a static view of your current network status without the need to interpret command output.
Windows Settings
Open Settings > Network & Internet > Status .
Scroll down and click on View your network properties .
Under the appropriate connection, you will see the IPv4 address listed.
macOS System Preferences
Click the Apple logo and select System Settings (or System Preferences ).
Go to Network .
Select your active connection (Wi-Fi or Ethernet) from the sidebar; the Status section will display your IP address.