How to Find Your IP Address on a Mac
Using Terminal
Option 1: Get Public IP Address
Type "ifconfig getifaddr en0" in Terminal for wired connections or "ipconfig getifaddr en1" for wireless connections. Hit Enter.
Option 2: Get Private IP Address
Run "ifconfig -l | xargs -n1 ipconfig getifaddr" in Terminal. This is equivalent to "ipconfig getifaddr en0" but more reliable for private IP addresses.
Option 3: Use the Network Setup Wizard
Launch Terminal and enter "networksetup -getinfo Wi-Fi" for your Wi-Fi network or "networksetup -getinfo Ethernet" for wired connections. Find the IP address under "IP address."
Using System Preferences
Option 1: View IP Address in Menu Bar
Go to System Preferences > Network. Select the active network connection and click "Advanced" > "TCP/IP." Your IP address will be displayed under "Configure IPv4."
Option 2: View IP Address in Network Settings
Go to System Preferences > Network. Select the active network connection and click "Status." Your IP address will be displayed under "IPv4 Address."
Using Google Search
Type "what is my IP address" into Google for a quick result.
Comments