How to Find Your IP Address: Quick & Easy Steps

Last Updated: September 9, 2026By
IP lookup page showing IPv4 address

An Internet Protocol (IP) address serves as a unique numerical label assigned to each device connected to a computer network. Much like a physical mailing address, it ensures that information sent across the internet or a home system reaches the correct destination.

Knowing how to locate this number is essential during several daily computing tasks, such as configuring network hardware, troubleshooting connection drops, or setting up secure remote desktop sessions. Because different situations require different information, users often need to check external public addresses or private local assignments.

This guide explains practical lookup techniques across Windows, macOS, Linux, mobile platforms, and router administration interfaces, offering straightforward instructions for every major operating environment.

Methods for Public IP Address Discovery

A public IP address identifies your entire local network to external servers and websites across the internet. Internet Service Providers assign this external address to your modem or router, allowing outside services to route data back to your household. Locating your public address requires only a few seconds through web utilities, search queries, or router settings.

Dedicated Network Information Web Services

Dedicated lookup tools provide comprehensive network metadata alongside your basic public address. An online IP checker reads your incoming connection headers to present detailed diagnostic information immediately upon loading the page.

To check your network details:

  1. Open our online IP lookup tool in any desktop or mobile web browser.
  2. View your detected IPv4 or IPv6 address displayed at the top of the interface.
  3. Review the network summary below the address to inspect your provider and location data.

This tool reports several useful connection details:

  • The registered name of your Internet Service Provider (ISP).
  • An estimated geographic location, including city, region, and country.
  • The Autonomous System Number (ASN) associated with your network provider.

Search Engine Query Tools

Another quick way to check an external IP address is through a standard web search query.

  1. Open any web browser on a computer or mobile phone.
  2. Type “what is my IP” or “my IP address” into the search bar of Google, Bing, or DuckDuckGo.
  3. Press Enter to view the top search result.

Search engines display your public address inside an informational box directly above standard search listings. The result shows either a 32-bit IPv4 address (formatted as four numbers separated by dots, such as 203.0.113.195) or a 128-bit IPv6 address (formatted as eight groups of hexadecimal digits separated by colons).

Virtual private networks (VPNs) and proxy servers alter these results. When a VPN is active on your device or router, your internet traffic routes through an intermediary server.

The search engine displays the IP address belonging to that VPN server instead of the address assigned by your internet provider. Turn off any active VPN or proxy software if you need to identify your actual home connection address.

Router Administration Dashboard Access

Your home router receives its public IP address directly from the internet provider on its Wide Area Network (WAN) interface. Accessing the router firmware allows you to view this assignment without relying on third-party web tools.

  1. Open a web browser on a device connected to your home network.
  2. Type the local gateway IP address of your router (commonly 192.168.1.1 or 192.168.0.1) into the address bar and press Enter.
  3. Enter the administrator username and password to log in.
  4. Open the WAN, Internet, or Status menu.
  5. Locate the entry labeled “WAN IP Address” or “Internet IP Address.”

Checking the router dashboard is helpful for identifying Carrier-Grade Network Address Translation (CGNAT). Some mobile broadband and fiber providers conserve IPv4 addresses by placing multiple customers behind a single shared public IP.

If the WAN IP listed in your router firmware falls within the reserved range of 100.64.0.0 to 100.127.255.255, your provider uses CGNAT. In this scenario, the router WAN IP will differ from the public IP reported by external search engines and lookup websites.

Local IP Address Retrieval on Desktop Systems

Shell console with highlighted ip address

Local IP addresses identify individual computers, tablets, and peripherals within your private local network. Desktop operating systems handle local addressing through dynamic host configuration, assigning unique private numbers that usually begin with 192.168, 10, or 172.16.

Finding these addresses can be done through graphical settings or command-line utilities.

Windows Network Panel and Command Prompt

Windows provides straightforward paths to local network details through both graphical menus and terminal windows.

To find your local IP address using the graphical interface:

  1. Click the Start button and select “Settings” (the gear icon), or press Windows + I.
  2. Select “Network & internet” from the left sidebar.
  3. Click on “Wi-Fi” or “Ethernet,” depending on your active connection method.
  4. Click on your connected network name to open its properties page.
  5. Scroll down to the properties section to find the entry labeled “IPv4 address.”

To retrieve your IP address using the command line:

  1. Press Windows + R, type “cmd” into the Run dialog, and press Enter.
  2. Type ipconfig into the Command Prompt window and press Enter.
  3. Scroll through the output to find your active adapter (such as “Wireless LAN adapter Wi-Fi” or “Ethernet adapter Ethernet”).
  4. Locate the line labeled “IPv4 Address” to view the assigned local number.

macOS Network Menu and Terminal

Apple macOS displays local IP information in the system settings panel and provides quick command-line queries through the Terminal application.

To view your local IP address through macOS System Settings:

  1. Click the Apple menu in the top-left corner of the screen and select “System Settings.”
  2. Click “Network” in the left sidebar.
  3. Select your active connection type (Wi-Fi or Ethernet). A green indicator dot confirms that the interface is active and connected.
  4. Click the “Details” button next to the connected network name.
  5. View the assigned number listed next to “IP address.”

To extract your IP address using macOS Terminal:

  1. Open Finder, go to Applications, open Utilities, and launch “Terminal.”
  2. Type ipconfig getifaddr en0 and press Enter for the primary Wi-Fi interface.
  3. Type ipconfig getifaddr en1 and press Enter if your computer uses a wired Ethernet connection.
  4. The terminal returns your local IPv4 address immediately on the next line.

Linux Graphical Interface and Terminal Commands

Linux distributions provide graphical network applets along with terminal commands to inspect network interfaces.

To find your local address using the Linux desktop interface:

  1. Open the system “Settings” application from your desktop application launcher.
  2. Click “Network” for wired connections or “Wi-Fi” for wireless connections.
  3. Click the gear icon next to your active network connection.
  4. Find the local IP address listed under the “Details” tab next to “IPv4 Address.”

To check your IP address using the terminal:

  1. Open a terminal window by pressing Ctrl + Alt + T.
  2. Type hostname -I and press Enter to display all active local IP addresses assigned to the machine.
  3. Alternatively, type ip addr and press Enter for a detailed breakdown of all network adapters.
  4. Look for your primary adapter name, such as eth0 or enp3s0 for Ethernet, or wlan0 or wlp2s0 for Wi-Fi.
  5. Find the line starting with inet followed by an IP address and subnet mask (for example, 192.168.1.45/24).

Local IP Address Retrieval on Mobile and Gateway Devices

Person holding a smartphone in front of laptop

Smartphones and tablet operating systems organize network settings into simplified menus that display connection properties clearly. These menus also reveal the default gateway address, which represents the router that connects all local devices to the internet.

iOS Wi-Fi Network Details

Apple iOS allows users to inspect connection properties for any joined wireless network directly within the system settings.

  1. Open the “Settings” app on your iPhone or iPad.
  2. Tap “Wi-Fi” and make sure the toggle is switched on.
  3. Tap the blue “i” information icon located to the right of your connected network name.
  4. Look under the “IPV4 ADDRESS” header to find your device’s private “IP Address.”
  5. Note the number on the “Router” line directly below it, which indicates the default gateway address.

The details screen also includes IPv6 addresses if your local router supports IPv6 autoconfiguration. The device IP address identifies your specific phone on the local network, while the router address points to the network gateway.

Android Network Properties Menu

Android devices display local networking specifications within the network configuration panels, though exact menu titles vary slightly between manufacturer versions.

To locate your local IP on standard Android and Google Pixel devices:

  1. Open the “Settings” app.
  2. Tap “Network & internet,” then select “Internet.”
  3. Tap the gear icon next to your connected Wi-Fi network.
  4. Scroll to the bottom of the screen and tap “Advanced” if necessary.
  5. View the assigned number under the “IP address” entry.

On Samsung Galaxy devices running One UI:

  1. Open “Settings” and tap “Connections.”
  2. Tap “Wi-Fi,” then tap the gear icon next to the current network name.
  3. Tap “View more” to expand the network properties list.
  4. Scroll down to view the “IP address” and “Gateway” lines.

Default Gateway and Router Address Detection

The default gateway serves as the primary access point that routes traffic between your local devices and external internet servers. In home networks, the gateway address belongs to your local router.

Locating the default gateway enables you to open the web-based router setup page. You can find this address across different operating systems:

  • On Windows, it is listed as “Default Gateway” in the ipconfig output.
  • On macOS, it appears next to “Router” in the TCP/IP settings tab.
  • On iOS and Android, it appears on the “Router” or “Gateway” line in Wi-Fi properties.

Most networking equipment manufacturers assign standardized default gateway addresses out of the factory:

  • The address 192.168.1.1 is standard on many Asus, Linksys, and Netgear models.
  • The address 192.168.0.1 is common on TP-Link and D-Link hardware.
  • The address 10.0.0.1 is standard on Comcast Xfinity gateway units.

Entering this gateway IP address into the URL bar of any web browser loads the router management portal.

Practical Use Cases and Network Diagnostics

A person working on a laptop beside a white router

Knowing how to find and verify IP addresses simplifies everyday equipment setups and helps resolve home networking problems. Local and public addresses play specific roles in hardware sharing, secure remote access, and connection troubleshooting.

Hardware Configuration for Printers and Local File Shares

Network printers and Network Attached Storage (NAS) devices require stable addressing to remain reachable by computers on the same network.

Home routers frequently reassign dynamic IP addresses when devices restart or when address leases expire after a set number of days. If a printer receives a new local IP from the router, computers configured to communicate with the previous address will report that the printer is offline.

Setting a static local IP address on the printer, or creating a DHCP reservation in the router dashboard using the printer’s MAC address, prevents these connection drops.

Local file sharing relies on IP addresses for direct network mapping:

  • Windows file sharing connects to shared folders using paths such as \\192.168.1.50\SharedDocs.
  • macOS and Linux access network storage through protocols like SMB or NFS by connecting to smb://192.168.1.50.
  • Dedicated home media servers, such as Plex or Jellyfin, allow direct web access through the host IP address followed by the designated port number (for example, http://192.168.1.50:32400).

Remote Desktop Access and Network Security Verification

Establishing a remote session with another computer requires the target device’s IP address. Tools such as Remote Desktop Protocol (RDP) on Windows, VNC on macOS and Linux, and Secure Shell (SSH) require you to enter the local IP address of the target system when connecting over a private network.

IP identification also provides a practical method for verifying VPN security:

  1. Check your public IP address using an online lookup tool before turning on your VPN.
  2. Connect to your VPN service.
  3. Refresh the lookup tool to verify that your visible public address has changed to the VPN server location.

If the lookup tool continues to show your original ISP-assigned address while the VPN is connected, an address leak exists. This quick test confirms whether your network traffic is routed through the encrypted tunnel or exposed to the public internet.

Resolution of Address Conflicts and Autoconfiguration Errors

Checking IP assignments helps pinpoint why a specific device cannot load websites or connect to local resources.

A common autoconfiguration failure occurs when a device displays an IP address starting with 169.254. This range represents Automatic Private IP Addressing (APIPA).

When a computer or mobile phone cannot reach the local DHCP server on your router, the operating system assigns itself a temporary 169.254.x.x address. This indicates that the physical Wi-Fi or Ethernet connection is established, but the router failed to issue valid network settings.

Address conflicts occur when two devices on the same network receive the identical local IP address, resulting in intermittent disconnections for both devices.

To resolve basic dynamic addressing errors on Windows desktop systems:

  1. Open Command Prompt with administrative rights.
  2. Type ipconfig /release and press Enter to release the current local IP assignment.
  3. Type ipconfig /renew and press Enter to request a fresh address lease from the router.

On mobile devices and macOS systems, toggling the Wi-Fi connection off, waiting 5 seconds, and turning it back on forces the device to request a new IP address from the router.

Conclusion

Public and private IP addresses serve distinct networking functions. A public IP address acts as your external identifier on the global internet, managed directly by your service provider.

Private IP addresses operate strictly within your local area network, uniquely identifying individual computers, phones, and peripherals without exposing them directly to outside traffic.

Retrieving these addresses is simple across modern operating systems using visual settings or terminal commands. Windows users can check the network properties panel or run ipconfig, macOS users can view Wi-Fi details or use ipconfig getifaddr, and Linux systems provide quick output through ip addr or hostname -I.

Mobile devices on iOS and Android reveal local addresses and the default gateway directly within their Wi-Fi connection menus.

Building basic familiarity with these network numbers gives you greater control over everyday hardware management. Whether setting fixed assignments for network printers, testing VPN security, or resolving local address conflicts, knowing how to find your IP address ensures smooth and dependable device connectivity.

Frequently Asked Questions

What is the difference between a public and a private IP address?

A public IP address identifies your entire network on the global internet, while a private IP address identifies a specific device on your local home network. Your internet provider assigns your public address to your router. In contrast, your router assigns unique private addresses to your individual phones, computers, and printers.

Why does my IP address keep changing?

Your IP address changes because most internet service providers and home routers use dynamic IP addressing rather than permanent static assignments. Dynamic Host Configuration Protocol (DHCP) automatically rotates and reassigns addresses whenever equipment restarts or lease timers expire. You can assign fixed static addresses to hardware that requires permanent connections.

How do I find my router IP address to log into settings?

You can find your router IP address by looking for the default gateway listed in your device’s network settings. On Windows, run ipconfig in Command Prompt to find the Default Gateway line. On iPhone or Android, open your active Wi-Fi details to find the Router or Gateway address.

Why is my IP address starting with 169.254?

An IP address starting with 169.254 means your device cannot communicate with your router’s DHCP server to receive a valid local address. This status is known as Automatic Private IP Addressing (APIPA). It usually indicates a weak connection, incorrect router settings, or the need to restart your network hardware.

Does using a VPN change both my local and public IP address?

A VPN only changes your public IP address, leaving your local private IP address unchanged. It masks your external address by routing traffic through a remote server, making websites see the VPN’s location. However, your device keeps its local private assignment to communicate with home printers and nearby network hardware.

About the Author: Julio Caesar

5a2368a6d416b2df5e581510ff83c07050e138aa2758d3601e46e170b8cd0f25?s=72&d=mm&r=g
As the founder of Tech Review Advisor, Julio combines his extensive IT knowledge with a passion for teaching, creating how-to guides and comparisons that are both insightful and easy to follow. He believes that understanding technology should be empowering, not stressful. Living in Bali, he is constantly inspired by the island's rich artistic heritage and mindful way of life. When he's not writing, he explores the island's winding roads on his bike, discovering hidden beaches and waterfalls. This passion for exploration is something he brings to every tech guide he creates.