Guide
How to Find Your Local IP Address
Find the address assigned to your active Wi-Fi or Ethernet connection. IPv4 is often private; an interface can also have global and link-local IPv6 addresses.
Last reviewed: October 3, 2026
Quick reference
Where to look
- Windows
- Settings > Network & internet > Wi-Fi or Ethernet > hardware properties, or run ipconfig in Terminal.
- macOS
- System Settings > Network > active connection > Details > TCP/IP.
- Linux
- Run ip address show, then match the interface to your active Wi-Fi or Ethernet connection.
- iPhone or iPad
- Settings > Wi-Fi > tap the connected network > IP Address.
- Android
- Settings > Network & internet > Internet or Wi-Fi > current network details. Labels vary by vendor.
- Router
- Open the router admin page and look for connected devices, LAN clients, or DHCP leases.
Advertisement
Guide
Windows 11 and Windows 10
- Open Start, type Terminal or Command Prompt, and open it. Administrator access is not needed.
- Run ipconfig. Find Wireless LAN adapter Wi-Fi or the connected Ethernet adapter; ignore adapters marked Media disconnected.
- Read IPv4 Address for the device address and Default Gateway for the router. If shown, IPv6 Address is another address on that interface.
Show adapter addresses
ipconfig
Example output
Wireless LAN adapter Wi-Fi:
IPv4 Address . . . . . . . . . . : 192.168.1.34
Subnet Mask . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . : 192.168.1.1
Illustrative output: 192.168.1.34 is this device; 192.168.1.1 is its router. These are not the public address ShowIP normally sees.
Guide
macOS
A VPN or virtual adapter can have a different address. Select the physical network you want to inspect; do not assume Wi-Fi is always named en0.
- Open Apple menu > System Settings > Network.
- Select the connected Wi-Fi or Ethernet service, choose Details, then TCP/IP.
- Read the IP address, subnet mask and router. Just viewing these values does not require changing your DHCP configuration.
Guide
Linux
- Open a terminal and run ip address show. This reads configuration and does not change it.
- Find your active interface, often named wlan0, wlp…, eth0 or enp…. Ignore lo (loopback) when finding a LAN address.
- Read inet for IPv4 and inet6 for IPv6. Use ip route show default to identify the interface used for the default IPv4 route; a VPN can change this route.
List addresses
ip address show
Example output
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
inet 192.168.1.34/24 scope global enp1s0
inet6 fe80::1234/64 scope link
Illustrative excerpt: inet is the IPv4 address; /24 is the network prefix length. Linux's scope global label does not mean a private IPv4 address is internet-routable. fe80::1234 is link-local IPv6.
Find the default IPv4 route
ip route show default
Example output
default via 192.168.1.1 dev enp1s0
Here enp1s0 is the outgoing interface and 192.168.1.1 is the gateway. Multiple routes or no IPv4 default route require checking your network configuration.
Guide
iPhone and iPad on Wi-Fi
These steps inspect Wi-Fi. Cellular routing is different and the phone may not expose its carrier-side address here.
- Open Settings > Wi-Fi and locate the connected network.
- Tap its information (i) button, then look under IPv4 Address for IP Address and Router. IPv6 addresses may be listed separately.
- Read the values and leave the settings unchanged. The Private Wi-Fi Address option refers to a MAC address, not this IP address.
Guide
Android on Wi-Fi
- Open Settings, then Network & internet > Internet on many Android phones, or Connections > Wi-Fi on Samsung Galaxy.
- Open the connected network's details or gear button. On Galaxy, expand View more if needed.
- Find IP address or the read-only IP information. Labels vary by Android version and manufacturer; do not switch to Static just to inspect an address.
Guide
Find the router or another device
- Use the Router or Default Gateway value above to identify your local router; follow its manufacturer's login instructions.
- In the router's administration interface, open Connected devices, LAN clients or DHCP leases.
- Match the device name and address. The router's WAN or Internet address is a separate value and can itself sit behind upstream NAT.
Guide
Local IP vs public IP
A local IP usually works only on your current network. It is used by your router, printer, phone, laptop, containers, or local services.
ShowIP shows the public address websites can see. That public address is often the router, ISP, VPN, proxy, mobile gateway, or organization network in front of your device.
Guide
When local IPs matter
Local IPs are useful when connecting to a development server, printer, NAS, camera, router, game server, or another device on the same network.
They usually cannot be used by someone outside your network unless port forwarding, VPN access, or another remote access path is configured.
Reference
Key terms
- DHCP
- Automatic local address assignment
- Gateway
- Router address used to leave the local network
- Interface
- A Wi-Fi, Ethernet, VPN, or virtual network adapter
Examples
Examples
Home LAN
192.168.1.34
Typical local IPv4 address assigned by a home router.
Container bridge
172.18.0.2
Typical private address inside a container or virtual network.
IPv6 local
fe80::/10
IPv6 link-local addresses are scoped to one local network link.
Next steps
Related guides and tools
Questions
FAQ
Is my local IP secret?
It is not globally useful by itself because private ranges are reused on many networks, but it can still be sensitive in local network troubleshooting or screenshots.
Why do I see several local IP addresses?
Each active interface can have its own address. Wi-Fi, Ethernet, VPNs, containers, and virtual machines can all add addresses.
Sources