Find your computer's IP address
On this page:
Overview
One simple way to determine your computer's IP address is to visit whatsmyip.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.
To view all the content available to you here, use the green log into the Knowledge Base.
button at the top of this page toWindows
- Open a command prompt.
- At the command prompt, enter:
ipconfig
macOS
- From the Apple menu, select
System Preferences
, from the menu, select .
. In - In the
Network
preference window, click a network port (for example, Ethernet, AirPort, Wi-Fi). If you are connected, you'll see your IP address under "Status:".
Unix-like OS
In many Unix-like operating systems (for example, Ubuntu, RHEL, macOS, 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 get your IP address from ifconfig, enter the following:
ifconfig
A 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 find out more with the command:
man ifconfig
Related documents
This is document aapa in the Knowledge Base.
Last modified on 2023-06-27 11:04:17.