What is my IP address on Linux?

Your public IP is shown above instantly. Below you will also find the exact terminal commands to check both your public and local IP on any Linux distribution.

  • Instant results
  • Private by design
  • No ads, no tracking

Your public IP address

216.73.216.157
IPv6Not available

This is the address that websites, apps and online services see when you connect. ipnow doesn't store or log it.

Location

Network & ISP

Location is estimated from your IP address and may differ from your exact physical location.

Finding your IP address on Linux

The terminal commands and tools to check your public and local IP on Ubuntu, Debian, Fedora, Arch, and any other distribution.

Find your public IP from the terminal

Your public IP is shown above, but you can also fetch it from the terminal with `curl ifconfig.me`, `curl icanhazip.com`, or `curl -s https://api.ipify.org`. These query an external service that echoes back the public IP your connection presents.

Find your local IP with ip addr

The modern command is `ip addr` (or `ip a`). Look for the "inet" line under your active interface — wlan0 for Wi-Fi, eth0 or enpXsY for Ethernet. `hostname -I` prints all local IPs directly. The legacy `ifconfig` still works if net-tools is installed.

IPv4 vs IPv6

IPv4 is the original 32-bit format written as four numbers (e.g. 99.33.79.49). IPv6 is the newer 128-bit format created because IPv4 addresses ran out globally. Many connections support both — ipnow detects and displays each separately.

Useful Linux networking commands

`ip route` shows your default gateway (router). `ip -6 addr` shows IPv6 addresses. `nmcli device show` gives full details on NetworkManager systems. `resolvectl status` shows your DNS servers. These help diagnose connectivity and confirm which addresses your machine is using.

Linux IP addresses and privacy

What your public IP reveals and how to control it on Linux.

What your Linux IP reveals

Your public IP exposes your approximate location and ISP to every server you connect to. Your local IP (from `ip addr`) stays inside your network and is never seen by external sites.

We never log it

ipnow shows no ads and runs no trackers. We never store or log your IP address on our servers. Geolocation and ISP details are fetched from privacy-respecting third-party providers.

Masking your IP on Linux

Use a VPN via NetworkManager, the OpenVPN/WireGuard CLI, or your provider's Linux client. WireGuard (`wg-quick up`) is fast and simple. For stronger anonymity, the Tor Browser or `torsocks` routes traffic through the Tor network. Verify with `curl ifconfig.me` after connecting.

Frequently asked questions

Common questions about IP addresses and how ipnow works.

Your public IP is shown at the top of this page. From the terminal, run `curl ifconfig.me` for your public IP, or `ip addr` / `hostname -I` for your local IP.