Skip to main content
DNSnexus
Free Developer Tools
DNS
Email
Network
Webmaster
Security
IP
Guides
Live Tools
60+
Categories
6
Result URLs
Shareable
Availability
24/7
DNSnexus
Free Developer Tools
Free DNS, email, network, and security diagnostics with crawlable tool pages and shareable result URLs.
Run DNS CheckBrowse All Tools
Popular Tools
DNS Propagation CheckerDNS LookupWHOIS LookupSPF Record CheckerDMARC CheckerSSL Certificate CheckerPort Scanner
Quick Path
Fix Email Deliverability
Quick Path
Troubleshoot DNS Changes
Quick Path
Validate SSL & Open Ports
DNS Tools
A Record LookupAAAA Record LookupCERT LookupCNAME LookupDNS CheckDNS LookupDNS Propagation CheckerDNSKEY LookupDS LookupIPSECKEY LookupLOC LookupNS LookupNSEC LookupNSEC3PARAM LookupReverse DNS LookupRRSIG LookupSOA LookupSRV LookupTXT LookupWHOIS Lookup
Email Tools
BIMI LookupBlacklist CheckDKIM CheckerDMARC CheckerDMARC Report AnalyzerEmail Deliverability ReportEmail Header AnalyzerEmail Health ReportGoogle/Yahoo Compliance CheckerMicrosoft Compliance CheckerMTA-STS LookupMX Record LookupSMTP TestSPF Record Checker
Network Tools
HTTP LookupHTTPS LookupMAC Address GeneratorMAC Address LookupOnline TraceroutePingSubnet Calculator
Webmaster Tools
HTTP Headers CheckSearch Presence CheckWebsite Link AnalyzerWebsite Operating System CheckWebsite Redirect CheckerWhat is My User Agent?
Security Tools
DKIM Record GeneratorDMARC GeneratorDomain DNS Security CheckEmail Security CheckerPort ScannerSPF GeneratorSSL Certificate CheckerWebsite Vulnerability Scanner
IP Tools
ARIN LookupASN LookupIP Blacklist CheckIP Geolocation LookupWhat Is My IP
Company
All Tools DirectoryGuides & PlaybooksAbout DNSnexusContactAPI DocsPrivacy PolicyTerms & ConditionsCookie Policy
© 2026 DNSnexus — DNS, Email, Network & Security Tool Platform
All ToolsAboutContactPrivacyTerms
Home › Guides › IP Intelligence › How to Find Your IP Address (All Devices)
IP Intelligence•8 min•Published 2026-07-14

How to Find Your IP Address (All Devices)

Every device that connects to the internet or a local network has an IP address — but "your IP address" actually means two different things depending on who's asking. Your **public IP** is what websites and other people on the internet see; your **private IP** is the address your router assigned you on your home or office network, visible only to other devices on that same network. Finding either one takes under a minute once you know where to look, and the steps differ slightly by device.

Quick Answer
The fastest way to find your public IP is to visit the What Is My IP tool — it displays it instantly. For your private IP: on Windows run ipconfig in Command Prompt, on Mac run ipconfig getifaddr en0 in Terminal, and on iPhone or Android check Settings → Wi-Fi → tap your network for the IPv4 address.

Public IP vs. Private IP: What's the Difference? {#public-vs-private-ip}

Your public IP address is assigned by your Internet Service Provider (ISP) and identifies your entire network to the outside internet. It's the address a website's server sees when you load a page, and it's the same for every device on your home network because they all share one connection to the internet through your router. Your private IP address, by contrast, is assigned by your router to each individual device — laptop, phone, printer, smart TV — so they can talk to each other and to the router on the local network.

Private IP addresses come from three reserved blocks defined in RFC 1918: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. These ranges never route on the public internet, which is why two people on completely different home networks can both have a device at 192.168.1.5 without any conflict. Your router uses Network Address Translation (NAT) to translate between your device's private IP and your network's single public IP whenever traffic leaves the local network.

This distinction matters for troubleshooting: if you're setting up port forwarding, remote access, or checking why a device won't connect to another device on the same Wi-Fi, you need the private IP. If you're checking what a website, game server, or remote support tool sees when you connect, you need the public IP. The What Is My IP Address, Explained guide covers this split in more depth, including IPv4 vs. IPv6 addressing.

How to Find Your Public IP Address {#find-public-ip}

Your public IP is the easiest one to find because it doesn't depend on your operating system — any device with a browser can check it the same way.

Method 1 — Use a tool. Open the What Is My IP tool, which auto-detects and displays your public IPv4 and IPv6 address the moment the page loads, with no form to submit.

Method 2 — Command line.

Code
# macOS / Linux
curl ifconfig.me

# Windows (PowerShell)
(Invoke-WebRequest -Uri "https://ifconfig.me").Content

Both commands query an external server and return the public IP that server sees — which is your router's public-facing address, not any individual device's private IP.

If you need more than just the address — ownership, hosting provider, or approximate geolocation — run it through IP Lookup, which resolves ASN, ISP, and location data for any public IP.

How to Find Your Private (Local) IP Address {#find-private-ip}

Your private IP depends on which device and OS you're using. Each method below reads the same underlying network configuration your device already has — none of it requires installing anything.

Windows:

  1. Press Win + R, type cmd, and press Enter.
  2. Type ipconfig and press Enter.
  3. Look for IPv4 Address under your active adapter (Wi-Fi or Ethernet) — that's your private IP.
Code
Wireless LAN adapter Wi-Fi:
   IPv4 Address. . . . . . . . . . . : 192.168.1.42
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1

Run ipconfig /all instead if you also need your MAC address, DHCP lease details, or DNS servers.

macOS:

  1. Open System Settings → Wi-Fi (or Network).
  2. Click your active connection, then Details… → TCP/IP tab. The IP Address field shows it.

Or via Terminal:

Code
ipconfig getifaddr en0   # Wi-Fi on most Macs
ipconfig getifaddr en1   # Ethernet on most Macs

Run networksetup -listallhardwareports first if you're unsure which interface (en0, en1, etc.) maps to Wi-Fi vs. Ethernet on your specific Mac.

iPhone / iPad:

  1. Open Settings → Wi-Fi.
  2. Tap the (i) icon next to your connected network.
  3. Scroll to IPv4 Address under the network details.

Android:

  1. Open Settings → Network & internet → Internet.
  2. Tap the gear icon next to your connected Wi-Fi network.
  3. Look for IP address under the network details (exact wording and path vary slightly by manufacturer — Samsung, Pixel, and OnePlus each place it a little differently within Wi-Fi settings).

Linux:

Code
ip addr show | grep "inet "
# or, more targeted:
hostname -I

The first non-127.0.0.1 address returned is your private IP on the active interface.

IP Address Lookup by Device — Reference Table {#reference-table}

This table summarizes the fastest built-in method per device — no third-party app required for any of them.

Device / OSMenu PathCommand-Line Alternative
Windows 10/11Settings → Network & Internet → Propertiesipconfig
macOSSystem Settings → Wi-Fi → Details → TCP/IPipconfig getifaddr en0
iPhone / iPadSettings → Wi-Fi → (i) next to network— (no built-in terminal)
AndroidSettings → Network & internet → Wi-Fi → gear icon— (varies by manufacturer)
LinuxNetwork Settings appletip addr or hostname -I
Any device (public IP)Visit What Is My IPcurl ifconfig.me

Menu wording shifts between OS versions and Android manufacturer skins, but the underlying network-configuration data these paths expose is identical — they all read the same IP assignment from the device's network stack.

Common Issues & Troubleshooting {#common-issues-troubleshooting}

ipconfig shows an address starting with 169.254.x.x. This is an APIPA (Automatic Private IP Addressing) fallback address, meaning your device failed to get an IP from DHCP — it isn't a usable network address. Check your Wi-Fi connection or Ethernet cable, then release/renew: ipconfig /release followed by ipconfig /renew on Windows.

Public IP tool and router admin panel show different addresses. That's expected. The public IP tool shows your router's internet-facing address; the router admin panel shows the private gateway address (commonly 192.168.1.1) used only inside your network. See the Router IP Address guide if you specifically need the gateway address.

Private IP keeps changing between reboots. Most home routers hand out private IPs via DHCP with a lease time, so the same device can get a different address after reconnecting. If you need a device to keep the same local IP — for port forwarding or a home server — set a DHCP reservation in your router's admin panel, or assign a static IP; see Static vs. Dynamic IP Address for when a static assignment is actually worth it.

Android shows no IP address at all under Wi-Fi details. This usually means the device is connected to Wi-Fi but hasn't yet been assigned an address, or is on a captive-portal network (hotel/airport Wi-Fi) that requires a login page first. Reconnect to the network and check again after the captive portal login completes.

VPN changes what the public IP tool shows. If a VPN or proxy is active, What Is My IP will display the VPN exit server's address, not your ISP-assigned one — this is expected behavior, not a tool error.

Frequently Asked Questions {#frequently-asked-questions}

Q: What's the difference between my public and private IP address?

Your public IP is assigned by your ISP and is visible to the internet; your private IP is assigned by your router and is only visible on your local network. Per RFC 1918, private IPs come from three reserved ranges that never route publicly.

Q: How do I find my IP address without any software?

For your public IP, visit any browser-based tool like What Is My IP — no install needed. For your private IP, use the network settings already built into your OS (Wi-Fi details on mobile, Network settings on desktop).

Q: Why does my IP address keep changing?

Most ISPs assign dynamic public IPs that can change on router reboot or after the DHCP lease expires; most home networks similarly assign dynamic private IPs. This is normal and by design — see Static vs. Dynamic IP Address for when a fixed address is actually needed.

Q: Can someone find my exact location from my IP address?

An IP address typically resolves to a city or region tied to your ISP's infrastructure, not a precise street address. Run IP Lookup to see exactly what geolocation data is publicly associated with your own IP.

Q: What is ipconfig /all and how is it different from ipconfig?

ipconfig shows basic IP, subnet mask, and default gateway per adapter. ipconfig /all adds MAC address, DHCP server, lease start/expiry, and DNS server details — useful when troubleshooting beyond just "what's my IP."

Q: Why does my iPhone show a private address like 192.168.1.x under Wi-Fi but a different one from an IP checker website?

The Wi-Fi settings page shows your private IP on the local network; the IP checker website shows your router's public IP as seen from the internet. Both are correct — they're just answering different questions.

Q: How do I find the IP address of another device on my network, not my own?

Log into your router's admin panel and look for a connected-devices or DHCP client list, which shows every device's private IP and MAC address. The MAC Address Lookup guide explains how to identify a device's manufacturer once you have its MAC address.

Key Takeaways {#key-takeaways}

  • ✓ "Your IP address" means two different things: public (ISP-assigned, internet-facing) and private (router-assigned, local-network only).
  • ✓ Public IP: fastest to check via What Is My IP or curl ifconfig.me.
  • ✓ Private IP: ipconfig (Windows), ipconfig getifaddr en0 (Mac), or Wi-Fi network details (iPhone/Android).
  • ✓ Private IPs come from RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and never route on the public internet.
  • ✓ A 169.254.x.x address means DHCP failed — that's not a usable IP, it's an APIPA fallback.

Next Steps {#next-steps}

Once you have your public IP, run it through IP Lookup to see the ISP, ASN, and geolocation data tied to it, or check Subnet Calculator if you need to understand how your private IP fits into your network's subnet mask. If you're setting up port forwarding or remote access, confirm the relevant port is actually reachable with Port Scanner. For the address that gets you into your router's admin panel specifically — not your device's own IP — see the Router IP Address guide. And if you're deciding whether your connection needs a fixed address at all, Static vs. Dynamic IP Address breaks down when a static IP is actually worth requesting from your ISP.

Free Newsletter

Get guides like this by email

DNS, email auth, and security playbooks delivered when they publish. No spam.

On this page
  • Public IP vs. Private IP: What's the Difference? {#public-vs-private-ip}
  • How to Find Your Public IP Address {#find-public-ip}
  • How to Find Your Private (Local) IP Address {#find-private-ip}
  • IP Address Lookup by Device — Reference Table {#reference-table}
  • Common Issues & Troubleshooting {#common-issues-troubleshooting}
  • Frequently Asked Questions {#frequently-asked-questions}
  • Key Takeaways {#key-takeaways}
  • Next Steps {#next-steps}
Related links
What Is My IpIp LookupSubnet CalculatorPort ScannerRouter Ip Address GuideWhat Is My Ip Address Explained
Related Tools
IP Geolocation Lookup→What Is My IP→IP Blacklist Check→ASN Lookup→