When connected to a network, a computer is assigned a unique identifier known as an IP address. If your computer is linked to a network or the internet, it will have both an internal IP address to identify its location within the local network and a public IP address for its internet connection. Below is a guide to locating both of these IP addresses.
Steps
Find Your Public IP Address Using a Search Engine

Open Bing or Google. These search engines allow you to quickly find your public IP address. This is the address of your router or modem that is visible to anyone on the internet.

Type ip address địa chỉ ip into the search bar. Press ↵ Enter. This search command will display your public IP address. Besides Yahoo, you can use Google, Bing, Ask, DuckDuckGo, and other search engines to find your IP address this way.

Locate the IP address. Your public IP address will appear at the top of the search results, sometimes in a separate box. If you're using Ask, the address will be listed in the More Answers section.
- A public IP address consists of four groups of up to three numbers, separated by periods. For example, an IP address might look like 199.27.79.192.
- The IP address is assigned by your internet service provider. Most public IP addresses are "dynamic," meaning they can change occasionally. This address can be hidden using proxies.
Find the Public IP Address in Router Settings

Open the router configuration page. Almost all routers can be accessed through a web interface to view and adjust settings. Open the web interface by entering the router's IP address into your web browser. Check your router's documentation for the specific address. Common router addresses include:
- 192.168.1.1
- 192.168.0.1
- 192.168.2.1

Navigate to the Router Status, Internet, or WAN page. The location of the public IP address varies depending on the router. Most addresses will be listed under Internet, Router Status, or WAN (Wide Area Network) Status pages.
- If you're using a newer Netgear router with Netgear Genie configuration software, click the Advanced tab to load the Advanced Home section.

Locate the IP address. Under the "Internet Port" or "Internet IP Address" section in the Router Status, Internet, or WAN page, your IP address will be listed. The IP address consists of four sets of numbers, each containing up to three digits. For example, it might appear as 199.27.79.192.
- This is your router's IP address. All connections made through your router will use this address.
- This IP address is assigned by your internet service provider. Most public IP addresses are "dynamic," meaning they can change occasionally. This address can be hidden using proxies.
Find the Private IP Address of Windows Using Command Prompt

Open the Command Prompt window. Press the key combination ⊞ Win+R and type cmd in the blank field. Then press ↵ Enter to open the Command Prompt window.
- For Windows 8, you can press ⊞ Win+X and select Command Prompt from the menu.

Run the "ipconfig" tool. Type ipconfig and press ↵ Enter. This will display a list of your network connection information. All network connections on your computer will be shown here.

Find the IP Address. The active connection might be labeled as Wireless Network Connection, Ethernet adapter, or Local Area Connection. It could also be named by the network card manufacturer. Locate the active connection and look for IPv4 Address.
- The IP address consists of four sets of numbers, each containing up to three digits. For example: 192.168.1.4
- The ipconfig output can be lengthy, so you may need to scroll up to find the IPv4 address.
Find the Private IP Address of Windows Using Network Connections

Open the Network Connections window. You can quickly access this window by pressing ⊞ Win+R and typing ncpa.cpl, a method applicable to all versions of Windows. Press ↵ Enter to open the window.

Right-click on the active connection. Select Status from the menu. This will open the Connection Status window. For Windows XP, click on the Support tab.

Open the Network Connection Details window. Click the Details... button. This will open the Network Connection Details window. The internal IP address will be displayed under "IP Address" or "IPv4.
- The internal IP address consists of four groups of up to three numbers, separated by periods. For example: 192.168.1.4
- The internal IP address is your computer's address on the network.
Find the Private IP Address on Linux

Open Terminal. You can check the internal IP address of a Linux computer through the Terminal command line. Access Terminal by selecting it from the Utilities folder of your Distribution, or press Ctrl+Alt+T in most distributions.

Enter one of the IP configuration commands. Below are a few different commands to display the IP address. The first command is the new standard for checking the IP address, while the second command is somewhat controversial but still works in most distributions.
- sudo ip addr show - You will need to enter the administrator password after running this command.
- /sbin/ifconfig - You may be notified that you lack administrative privileges for this command. If so, type sudo /sbin/ifconfig and enter your password.

Locate the IP address. Each command will display connection details for all installed connections. Find the connection you are using. If the computer is connected via Ethernet, the connection is likely eth0. If connected via Wi-Fi, it might be wlan0
- The internal IP address consists of four groups, each containing up to three numbers, separated by periods. For example, the address might look like 192.168.1.4
