IP Address Basics

How to Find My Local IP Address on Any Device

How to find my local IP address: open the network details for the Wi-Fi or Ethernet connection you are using and copy its IPv4 address. On Windows 11, run ipconfig; on macOS, open System Settings → Network → your connection → Details → TCP/IP; on Linux, run ip address. Android and iPhone show it inside the connected Wi-Fi details. This is a private, local address—not the public IP Loqmi shows on its IP tool.

Local IP, router IP, and public IP are different

Your local IP identifies your device on the network it is using now: your home Wi-Fi, office Ethernet, or a phone hotspot. It is also commonly called a private IP. Your router has a separate local address called the default gateway, while the address that websites see is the public IP for the connection. The distinction is explained in more detail in public vs. private IP addresses.

Fast rule: device settings show the device’s local address; the router’s Default Gateway or Router field shows the router; an external website such as Loqmi’s IP tool shows the public address. None of those numbers is “wrong”—they describe different sides of the connection.

Choose the address your task actually needs

Match the number to the job before copying it. A public IP, router address, and device address answer different questions.

TaskCopy this valueUse it for
Reach a computer, printer, or NAS locallyActive device IPv4Same-network connections
Open router settingsDefault Gateway or RouterSee how to log into a router
Tell an online service what it seesPublic IPLoqmi’s IP tool
Choose a port-forwarding destinationTarget device IPv4The inside destination of the rule
Check for ISP translationPublic IP and router WAN IPLoqmi plus the router’s WAN page; see CGNAT

How to find my local IP address on Windows 11

Using Windows Settings

  1. Open Settings and select Network & internet.
  2. Choose Wi-Fi, then select the Wi-Fi network you are connected to. For a cable, choose Ethernet.
  3. In the connection’s properties, find IPv4 address. That is the local IPv4 address for the selected connection.

This is the current route in Microsoft’s network settings guide. If both Wi-Fi and Ethernet are connected, use the interface carrying the traffic you care about.

Using Command Prompt or Windows Terminal

  1. Open Command Prompt or Windows Terminal.
  2. Run ipconfig.
  3. Under Wireless LAN adapter Wi-Fi or Ethernet adapter, copy IPv4 Address.

ipconfig reports values for all adapters, so do not copy the first address automatically. Find the live Wi-Fi or Ethernet block; Microsoft Learn documents the command.

Find your local IP on macOS and Linux

macOS: System Settings or Terminal

  1. Open the Apple menu and choose System Settings.
  2. Select Network, then choose the connection you are using, such as Wi-Fi or Ethernet.
  3. Click Details, open TCP/IP, and read IP address.

macOS normally receives this address through DHCP. See Apple’s current Mac network instructions. The graphical path avoids guessing interface names when a VPN or extra adapter is present.

Linux: network details or ip address

On Ubuntu’s desktop, open Settings, choose Network or Wi-Fi, select the settings button for the active connection, and open its details. Menu names vary by desktop environment, so the terminal is more portable.

  1. Open a terminal.
  2. Run ip address show up or ip addr.
  3. Find the active Wi-Fi or Ethernet interface and read its inet line for IPv4. Read inet6 only when the application specifically needs IPv6.

The ip command displays addresses attached to network devices; Ubuntu’s networking documentation covers this verification and the default route.

Find your local IP on Android and iPhone

Android: connected Wi-Fi details

  1. Open Settings, then tap Network & internet and Internet on stock Android or Pixel.
  2. Tap the gear or settings button next to the connected Wi-Fi network.
  3. Read IP address. If the field is hidden, expand the network details or advanced section.

Samsung and other manufacturers may use Settings → Connections → Wi-Fi → gear → View more. Labels vary, so search Settings for “IP address” if needed. Google’s current path starts at Network & internet → Internet. Private Wi-Fi Address and Randomized MAC address are hardware-address settings, not IP addresses.

iPhone or iPad: Wi-Fi information

  1. Open Settings and tap Wi-Fi.
  2. Tap the information button next to the connected network.
  3. Under IPv4 Address, read IP Address. The Router value below it is the gateway, not the iPhone’s address.

This is the address for the Wi-Fi network you joined. Cellular data is not your home Wi-Fi path. Apple’s Wi-Fi settings guide confirms the information-screen route.

Read the result without choosing the wrong interface

Private IPv4 addresses normally come from the three blocks reserved by RFC 1918: 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16. The range identifies the type of address, not the device that owns it.

FieldMeaningUse it for
IPv4 addressDevice address on the local IPv4 networkSame-network connections
IPv6 addressIPv6 address on that interface; there may be more than oneWhen the application asks for IPv6
Default Gateway or RouterNext-hop routerRouter settings or route checks
DNS serverName resolverName-resolution troubleshooting

Several addresses are normal with Wi-Fi plus Ethernet, a VPN, or virtual networking. Use the interface that can reach the other device, and do not substitute a colon-separated IPv6 value for an IPv4 value. Local addresses can change when assigned automatically; for a predictable printer, camera, NAS, or server address, use a router DHCP reservation. See static vs. dynamic IP addresses.

Troubleshoot a missing or unexpected address

Identify the likely layer before changing settings. A missing local address is usually a connection or DHCP problem, not a public-IP problem.

SymptomLikely causeWhat to try
No IPv4 addressDisconnected adapter, disabled interface, or incomplete DHCPReconnect, check the cable or Wi-Fi, then restart the adapter. If several devices fail, check the router.
169.254.0.0/16Link-local fallback after DHCP failedCheck the access point, cable, guest/VLAN network, and DHCP service. RFC 3927 limits this range to the local link.
A website shows another IPPublic address versus local addressUse device settings for local work and Loqmi for the public result.
Several IPv4 addressesMultiple adapters, VPN, or virtual networkingUse the live Wi-Fi or Ethernet interface that reaches the other device.
Correct address, but no local connectionGuest isolation, firewall, wrong protocol, or stopped serviceConfirm network permission and service status; do not disable security controls broadly.
Do not treat a private address as an internet address. For remote access, verify the public path, router policy, authentication, and firewall separately.

A quick Loqmi self-test

Check the category without installing a scanner:

  1. Write down the IPv4 address shown for the active Wi-Fi or Ethernet interface.
  2. On that connection, open Loqmi’s IP tool. It shows the public address, so it should differ from the local value.
  3. For general connectivity, run Loqmi’s speed test. It tests the internet path, not local-IP discovery or local reachability.
  4. For a router or local service, compare the device’s Default Gateway or Router value with the address you intend to open. For ISP translation, compare the router WAN address with Loqmi; a mismatch can mean CGNAT or a second router.

Run local tests only on networks and devices you own or are authorized to manage. Then fix the relevant layer: DHCP, local service permissions, address reservation, router, or ISP path.

Key takeaways

  • Find the local IP in the active Wi-Fi or Ethernet details; on Windows, ipconfig is the quickest fallback.
  • Your local IP identifies the device, the Default Gateway identifies the router, and Loqmi shows the public IP seen by websites.
  • Use the address for the active interface and the protocol the application requests; multiple IPv4 and IPv6 values can be normal.
  • A 169.254.0.0/16 result points to an address-assignment problem, not a usable internet connection.
  • Use a DHCP reservation when a local device needs a predictable address, and check firewalls or network isolation before changing IP settings manually.

Frequently asked questions

Can I find my local IP from a website?

Usually not reliably. A website can see the public address used by your connection, but browsers do not provide a dependable way to reveal the address assigned to every local network interface. Open your device’s Wi-Fi or Ethernet details instead, then use Loqmi’s public IP tool only when you need to compare the two addresses.

Why does my local IP address change?

Your router commonly assigns local addresses through DHCP. The lease can change after reconnecting, renewing the lease, restarting network equipment, or joining another network. If a printer, camera, or server needs a predictable address, create a DHCP reservation in the router rather than typing a random fixed address into the device.

What does a 169.254.0.0/16 address mean?

It is an IPv4 link-local fallback address. The device typically chose it because it did not receive a usable address from DHCP, so it may communicate only with nearby devices on the same link. Reconnect to the intended Wi-Fi or Ethernet network, check the cable or access point, and investigate the router’s DHCP service.

Should I use IPv4 or IPv6 when a form asks for my local IP?

Use the protocol the application names. For many basic printer, router, and local-sharing tasks, the IPv4 address is the easiest choice. If the instructions specifically say IPv6, copy the IPv6 address from the active interface and preserve its full notation. Do not replace one with the other just because the formats look different.

Sources

Related articles