Networking

How do I find my IP address?

Updated 2026-08-14

✓

Quick answer

You can find your IP address by using the command line or checking your device settings. For public IP addresses, you can also use a web service.

Finding your IP address can be done through various methods depending on your device and network settings.

Steps

  1. 1

    Windows Command Prompt

    Press Win + R, type 'cmd', and hit Enter. In the Command Prompt, type 'ipconfig' and press Enter to see your local IP address.

  2. 2

    macOS Terminal

    Open Spotlight with Command + Space, type 'Terminal', and hit Enter. Type 'ifconfig' and press Enter to find your local IP address.

  3. 3

    Using a Browser

    Open your web browser and go to 'whatismyip.com' or 'ipinfo.io' to display your public IP address.

Using Command Line

On Windows, open Command Prompt and type 'ipconfig'. On macOS, open Terminal and type 'ifconfig'. This will display your local IP address.

Checking Device Settings

On Windows, go to Settings > Network & Internet > Status > View your network properties. On macOS, go to System Preferences > Network, select your active connection, and view the IP address.

Using a Web Service

You can visit websites like 'whatismyip.com' or 'ipinfo.io' to see your public IP address instantly.

Watch out for

  • The steps may vary slightly based on the operating system version.

FAQ

What is the difference between public and private IP addresses?

A public IP address is assigned by your Internet Service Provider and is accessible over the internet, while a private IP address is used within your local network and is not routable on the internet.

Can my IP address change?

Yes, if you have a dynamic IP address, it can change periodically. Static IP addresses remain constant.

How can I find my IP address on a mobile device?

On Android, go to Settings > Network & Internet > Wi-Fi, tap on your network, and view the IP address. On iOS, go to Settings > Wi-Fi, tap the info icon next to your network, and check the IP address.