Tools
TR / EN

Device Fixes

How to Find Your IP Address on Different Devices?

Oct 7, 2026

How to Find Your IP Address on Different Devices?

Photo by User_Pascal on Unsplash

Steps to find local and public IP addresses on devices. Commands for Windows, macOS, Android, iOS, IPv4 and IPv6 structures, and router settings.

Quick Answer

While you can find a device's local IP address through operating system settings or the command line, you need a browser to identify its public, internet-facing IP address.

To find your IP address, check your operating system's network settings or use the command line. You can see your local IP address by typing "ipconfig" on Windows, "ipconfig getifaddr en0" in Terminal on macOS, or "ip addr" on Linux. To find your public IP address, visit an IP lookup website in your browser or type "curl ifconfig.me" into the command line.

Before you start: local vs public IP

A device at home has its own local IP address, but it reaches the internet through your router's public IP address. The local address is assigned by the router in your home or office and is unique only within that network. These addresses typically fall within the 192.168.0.0/16, 10.0.0.0/8, and 172.16.0.0/12 ranges. Your public IP address is assigned to your router by your internet service provider and connects you to the wider world. No server outside your network can directly see your local IP address; incoming traffic first reaches your router's public address, which then routes it to the correct local device using NAT (Network Address Translation).

Some providers, especially on mobile networks, use shared addressing called CGNAT. In that case the WAN address shown in your router's settings may start with 100.64 and differ from the public IP that websites see.

Find your local IP address by device

Windows

The quickest graphical route is Settings > Network & internet > Wi-Fi (or Ethernet), then your network's properties page, where the IPv4 address is listed. To use the command line on Windows 10 and 11:

  1. Press the Windows + R keys to open the Run window.
  2. Type "cmd" in the box and press Enter to launch the Command Prompt.
  3. Type "ipconfig" and press Enter.
  4. Find your active connection type (such as "Ethernet adapter" or "Wireless LAN adapter Wi-Fi") in the results.
  5. Look at the value next to the "IPv4 Address" line under this heading; this is your local IP address.

macOS

  1. Type "ipconfig getifaddr en0" in Terminal; it returns the local address of your Wi-Fi connection directly (Wi-Fi is en0 on most Macs).
  2. Alternatively, look at the "inet" line under en0 in the "ifconfig" output.
  3. In the graphical interface, go to System Settings > Wi-Fi and click Details next to your network.

Linux

  1. Run "ip addr".
  2. Look for the "inet" value under your active interface, such as wlan0, wlp2s0, or eth0.

Android

IP address mobile devices check: smartphone screen showing the quick settings and connection menu
Photo by Andrey Matveev on Unsplash
  1. Go to your device's Settings.
  2. Tap Network & internet or Connections.
  3. Tap the gear icon next to your connected Wi-Fi network (or tap the network name directly).
  4. Expand the Advanced section and find the IP address at the bottom.

iOS (iPhone and iPad)

  1. Open the Settings app and go to Wi-Fi.
  2. Tap the blue "i" (information) icon to the right of your connected network name.
  3. Scroll down to the IPv4 Address section and look at the IP Address line.

Public IP address

  1. Visit an IP lookup website in your browser; or
  2. type "curl ifconfig.me" into the command line.

Reading the address: IPv4 and IPv6

IPv4 addresses consist of four 8-bit number groups separated by dots, with values from 0 to 255 in each group, such as "192.168.1.5". As the growing number of devices exhausts IPv4, IPv6 is stepping in to offer a much larger address space. IPv6 addresses consist of eight groups of four-digit hexadecimal numbers separated by colons, such as "2001:0db8:85a3:0000:0000:8a2e:0370:7334".

  • If an IP lookup site shows an address in this long format, your connection supports IPv6; the site sees your public IPv6 address, and you still have an IPv4 address as well.
  • In the "ipconfig" output, an IPv6 address starting with fe80 is a link-local address that only works on your own network.
  • An IPv6 address marked "temporary" changes periodically for privacy.

Set a static IP address on a router

To stop the local IP address of a printer, file server, or smart home device from changing, configure a static IP through your router's interface.

  1. Type your router's gateway address (usually 192.168.1.1 or 192.168.0.1) into your browser's address bar and log in with your username and password. You can also change your Wi-Fi password from the same panel.
  2. Find the "DHCP Server", "LAN Settings", or "Address Reservation" menu in the interface.
  3. Identify the physical MAC address of the device you want to give a static IP, and enter the local IP address you want it to always receive.
  4. Save the settings. Your router will now assign this same local IP address to that device every time it connects.

If it did not work

  • The address in your router's settings differs from what websites see: your provider may be using CGNAT (a shared address starting with 100.64).
  • Your IP address has changed: most home subscribers use a dynamic IP. To keep your public IP permanent, you must pay your service provider an extra fee for a static IP.

Common mistakes

IP address common misconceptions: wireless router on a desk with blinking green LED indicator lights
Photo by Misha Feshchak on Unsplash
  • Assuming your IP address stays the same when you turn your router off and on again. To manage unused addresses efficiently, providers assign a new public IP when your router restarts or at regular intervals.
  • Assuming every device uses its own independent public IP address. Your smart TV, computer, and phone all connect to the outside world using a single IP address; your router translates it into multiple private addresses on the local network using NAT.
M Editor: Mert K.

Published: Oct 7, 2026 ยท Last reviewed: Nov 15, 2026

Spotted a mistake? Tell us and we will correct it.

Topics

ip address networking internet router windows macos

You Might Also Like

Other posts on related topics.