tool.tl Minimal Tools · Maximum Value

How to Find Your IP Address on Common Operating Systems

Category: IP & Network · Published on 2025-09-14

Windows

On Windows, you can check your IP address in two ways:

  • Command Prompt: Press Win+R, type cmd, then run:
ipconfig

Example output:

Ethernet adapter Ethernet:

   IPv4 Address. . . . . . . . . . . : 192.168.1.100
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
  • GUI: Go to Control Panel → Network and Sharing Center → Change adapter settings, double-click your active network, and check the details.

Linux

Common commands include:

ip addr
ifconfig
hostname -I

Example output of ip addr:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    inet 192.168.1.101/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 86382sec preferred_lft 86382sec

To check your public IP:

curl ipinfo.im
curl ifconfig.me
curl ipinfo.io/ip

Example output:

203.0.113.45

macOS

On macOS, you can use:

  • Terminal: Run:
ifconfig en0 | grep inet

Example output:

inet 192.168.1.55 netmask 0xffffff00 broadcast 192.168.1.255
  • GUI: Apple Menu → System Preferences → Network, select your active interface.

To check public IP:

curl ipinfo.im
203.0.113.45

Android

  • Go to Settings → Wi-Fi, tap the connected network, and check details.

With a terminal app:

ip addr show wlan0

Example output:

3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP>
    inet 192.168.1.120/24 brd 192.168.1.255 scope global dynamic wlan0

iOS (iPhone/iPad)

  • Open Settings → Wi-Fi, tap the connected network, and check the “IP Address” field.
Tip: Public IP can be checked via https://ipinfo.im or by running curl commands on Linux/macOS.
👁 Views: 114
👎 Dislike 0