What Is My IP Address?
See the public IPv4 and IPv6 addresses available to your current internet connection.
Description
Find your public IPv4 and IPv6 addresses, understand address scopes such as loopback, and learn why one protocol may be unavailable.
An IP address identifies a network interface for Internet Protocol traffic. This tool checks the public IPv4 and IPv6 addresses that outside services can observe for the current browser connection. These may differ from the private addresses used inside your home, office, virtual machine, or container.
IPv4 and IPv6 are tested separately because a device can reach the internet over one protocol without supporting the other. An unavailable result therefore does not necessarily mean the connection is broken.
What the results mean
A public address is the address visible to a service reached over the internet. It may belong directly to your device, but it more commonly belongs to a router, carrier-grade NAT gateway, VPN endpoint, corporate proxy, or another system acting on behalf of the connection. Changing networks, enabling a VPN, reconnecting a modem, or waiting for an ISP lease to change can produce a different result.
- Public IPv4
- The globally reachable 32-bit address used for the IPv4 probe, written as four decimal numbers separated by dots. Public IPv4 addresses are scarce, so several devices often share one address through network address translation (NAT).
- Public IPv6
- The globally reachable 128-bit address used for the IPv6 probe, written as hexadecimal groups separated by colons. Consecutive zero groups may be compressed with a double colon, so a valid IPv6 address can look much shorter than its full representation.
- Unavailable
- The browser could not complete that address-family probe. Many networks still provide IPv4 without IPv6; an IPv6-only environment can produce the opposite result. Firewalls, DNS filtering, captive portals, and browser extensions can also block a probe.
IPv4, IPv6, and address scopes
IPv4 and IPv6 solve the same basic addressing and routing problem with different address formats and protocol details. IPv4 uses 32-bit addresses, while IPv6 uses 128-bit addresses and provides a vastly larger address space. A valid address is not automatically a public address: both protocols reserve ranges for local communication, private networks, documentation, testing, multicast, and other special purposes.1, 2
- Global
- An address intended to be routable beyond a local network or administrative domain. Actual reachability can still be limited by firewalls, routing policy, or provider configuration.
- Private or unique-local
- An address intended for internal networks rather than direct global routing. Common private IPv4 ranges include 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16; IPv6 unique-local addresses use fc00::/7.
- Loopback
- An address that sends traffic back to the same device. IPv4 reserves 127.0.0.0/8 for loopback, and the IPv6 loopback address is ::1. Routers do not forward loopback traffic onto the internet.
- Link-local
- An address usable only on the local network link. It is not a public internet address and normally cannot be routed beyond that link.
Why ::1 or a loopback scope may appear
The IPv6 value ::1 is the loopback address, equivalent in purpose to the familiar IPv4 address 127.0.0.1. It means the observed connection terminates on the same device instead of arriving through a public network interface. You commonly see ::1 while using a local development server.
If a deployed public site reports ::1, 127.0.0.1, a private address, or a loopback scope as the visitor address, its reverse proxy or application server is probably reporting the immediately connected proxy instead of the original client. The deployment must be configured to accept the client-address header only from its trusted proxy chain. Blindly trusting a forwarding header supplied by any requester would allow address spoofing.
Privacy and limitations
An IP address is connection information, not a reliable personal identity or precise location. A household, workplace, mobile carrier, VPN service, or public hotspot may serve many people through the same public address. Approximate IP geolocation can identify the wrong city or region and should not be treated as a physical-location measurement.
To test both address families from the browser, this page contacts ipify's IPv4-only and IPv6-only endpoints. Each successful endpoint necessarily observes the address used to contact it. The tool displays the returned addresses and does not request location, organization, or device-profile data.4
- A VPN or proxy normally shows its exit address rather than the address assigned by your ISP.
- Mobile and shared networks may use carrier-grade NAT, so many subscribers can share one public IPv4 address.
- An unavailable IPv6 result usually means the current path lacks working IPv6 connectivity; it does not invalidate the IPv4 result.
- A visible public address does not prove that unsolicited inbound connections can reach the device.
References
-
IANA IPv4 Special-Purpose Address Space — Internet Assigned Numbers Authority
-
IANA IPv6 Special-Purpose Address Space — Internet Assigned Numbers Authority
-
RFC 1918: Address Allocation for Private Internets — Internet Engineering Task Force