Every device connected to a network has an IP address. It is a unique identifier that locates
your computer or Mac on the network. It is most likely that your Mac connects to the internet through a network or router; which implies that you have (1) a local IP address
that identifies the Mac on the local network (router) and (2) a public IP
to connect to the internet. This short tutorial explains how to find these addresses on your Mac.
Finding your local IP address
Finding your local IP address is really easy. Head to the Apple
menu > System Preferences
and then select the connection you are currently using: AirPort
(wireless) or Ethernet
If your Mac is connected (Status: Connected
) then your local IP address will appear on the top right corner of the menu.
: You can also find your local IP address using the ifconfig
command. Click the Application
folder > Utilities
and execute the ifconfig
Finding your public IP address
The public IP is provided by your ISP, you can find it in the configuration page of your router. Enter the address (192.168.1.1
) provided in your router's manual in the address bar of your web browser and press Enter
. Enter the username and password when prompted. Search for a section named Router/WAN Status
, your public IP address (Internet IP Address
) is listed there.