Introduction
Public IP address
If you are able to browse the web, navigate to https://whatismyipaddress.com.
Private IP address
Open System Preferences, and click Network. In the left-hand menu, choose the connection for which you are trying to locate the IP address. Then, click Advanced. Click the TCP/IP tab to see the IP address next to either "IPv4 Address" or "IPv6 Address".
Instructions
Public IP address
If you are able to browse the web, navigate to https://whatismyipaddress.com. This website will display your public IP address.
Private IP address
2) Click Network.
3) In the left-hand menu, choose the connection for which you are trying to locate the IP address. Then, click Advanced.
TIP: If you are looking for the IP address for wireless connection, click Wi-Fi. If you are looking for the IP address of a wired connection, click Ethernet or the name of your wired network adapter. In the screenshot below, we are looking for the IP address for the wireless connection.
Outcome
Under the TCP/IP tab, you will see the IP address next to either "IPv4 Address" or "IPv6 Address" depending on the TCP/IP version used by your provider.