Find your local IP on Windows, Mac, iPhone, Android, Linux, your printer, or your console — with a clear explanation of public vs local IP, the distinction most guides skip.
Looking for your IP to set up a printer, console, or local device? Most people who search this need their local IP, not the public one. Pick your device for exact steps.
First, which IP do you need? The address at the top of this page is your public IP — what websites and the wider internet see. If you’re connecting a printer, console, or another device on your own network, you need your local IP instead — it starts with 192.168, 10., or 172.16. Pick your device below to find the local one.
ipconfig
Prefer the terminal? Run the command below and read the inet line for your active interface.
ipconfig getifaddr en0
This shows your local IP on the Wi-Fi network. On mobile data your device doesn’t expose a useful local IP — the public IP at the top of this page is what applies there.
Menu names differ between Samsung, Pixel, Xiaomi and others, but the path is always Wi-Fi → your network → details.
Run either command in a terminal and read the inet address for your active interface (e.g. eth0 or wlan0):
ip addr show # or the older: hostname -I
A printer’s IP comes from the printer itself, not a command on your computer. The exact menu varies by model, but two reliable methods:
On HP, look under Wireless or Network settings; on Epson, under Network Status; on Canon, under LAN/Network settings. Menu wording differs by model, so treat these as a starting point.
Game consoles show their local IP in the network settings:
This is the local IP you’d use for port forwarding or fixing a strict NAT type. See our console local vs public IP guide.
Related: Console local vs public IP · IP address FAQ
Your public IP is the single address your whole network shows to the internet — it’s shown at the top of our homepage. Your local IP is the private address your router assigns to each device on your network, so they can talk to each other. Local IPs start with 192.168, 10., or 172.16–31. When you connect a printer or set up file sharing, it’s the local IP you need.
Every device on your network gets its own local IP from the router’s DHCP service, but they all share the same public IP when reaching the internet. That’s why your printer’s 192.168.x.x address is different from your laptop’s, even though a website sees both as the same public address. For more, see local vs public IP on consoles.
Related: Console local vs public IP · What private IP ranges mean · IP address FAQ