How do I determine my computer's IP address?
On this page:
Via the web
If you are connected to the Internet, visit WhatIsMyIP.com. The site will display your IP address and other information about your system. If the page does not appear, you may not have a working Internet connection and should try one of the methods below.
Note: This IP address is known as your external IP address; it may differ from those mentioned in different sections of this article.Windows
Windows 8
- Press
Win-r.
- Type
cmdand pressEnter.
- At the command prompt, enter:
ipconfig
The IPv4 address will be a series of numbers following the pattern xxx.xxx.xxx.xxx (e.g., 156.56.27.32).
Windows 7, Vista, and XP, using the command prompt
- Click
Start, and then selectAll Programs.Note: If this doesn't match what you see, refer to About navigation settings in Windows.
- Click
Accessories, and thenCommand Prompt.
- At the command prompt, enter:
ipconfig
The IP address (or IPv4 address, if you are using Windows 7 or Vista) will be a series of numbers following the pattern xxx.xxx.xxx.xxx (e.g., 156.56.27.32).
Note: If you are using PPP with a modem at home, your IP address will change each time you log in.
Windows 7, without using the command prompt
- In the notification area, click the network connection
icon and select
Open Network and Sharing Center.
- To view the IP address of a wired connection, click
Local Area Connection.To view the IP address of a wireless adapter, click
Wireless Network Connection (Network Name). - Click
Details.... Your IP address will appear next to "IPv4 Address".
Windows Vista, without using the command prompt
- From the
Startmenu, right-clickNetwork, and then selectProperties. This opens the Network and Sharing Center.
- To view the IP address of a wired connection, click
View Statusto the right ofLocal Area Connection.To view the IP address of a wireless adapter, click
View Statusto the right ofWireless Network Connection. - Click
Details.... Your IP address will appear next to "IPv4 IP Address".
Windows XP, without using the command prompt
- From the
Startmenu, right-clickMy Network Places, and then clickProperties.
- To view the IP address of a wired connection,
double-click
Local Area Connection.To view the IP address of a wireless adapter, double-click
Wireless Network Connection. - Click the
Supporttab, and then clickDetails.... The window that appears will display the IP address.
Mac OS X
To find the IP address of a Mac OS X computer:
OS X 10.5 and later
- From the Apple menu, select
System Preferences.... InSystem Preferences, from theViewmenu, selectNetwork.
- In the
Networkpreference window, click a network port (e.g., Ethernet, AirPort, Wi-Fi). If you are connected, you'll see your IP address under "Status:".
OS X 10.4
- From the Apple menu, select
Location, and thenNetwork Preferences....
- In the
Network Preferencewindow, next to "Show:", selectNetwork Status. You'll see your network status and your IP address displayed.
Unix-like OS
In many Unix-like operating systems (e.g., Ubuntu, RHEL, OS X, BSD), a shared system administration utility known as ifconfig is available to configure, control, and query TCP/IP network interface parameters from a command-line interface (CLI). Typically, ifconfig can only be used under a superuser account in your terminal.
To obtain your IP Address from ifconfig, enter the following command:
ifconfigA list of all your network interfaces will appear. Following the heading of the interface whose IP address you're searching for, you will see a "inet addr:" section containing your IP address.
You can usually obtain more information with the command:
man ifconfigLast modified on February 04, 2013.







