Bit Happens Bits happen. Fix them before shit happens. — home page
EN
MENU
NETWORK // PUBLIC IP // EDGE VIEW

WHAT IS
MY IP?

See the public IP address the Internet sees for this connection, with useful network context.

Detecting your public IP…
YOUR PUBLIC IP216.73.216.205
VERSIONIPv4
ASNAS16509
ORGANIZATIONAnthropic, PBC
COUNTRYUS
CLOUDFLARE EDGECMH
HTTP—
TLS—
READING // This is the address visible to the Internet for this connection. A VPN, proxy or carrier-grade NAT can make it different from the WAN address you expected.
HISTORY // MONITOR

IP history

Every IP this browser has seen on this page, newest first. Turn on monitoring to catch changes during SD-WAN, failover or link-switch tests.

FIRST SEENLAST SEENIPVERSIONASNORGANIZATION
No history yet.

Stored only in this browser (localStorage). Nothing is sent to or kept by Bit Happens.

What is my public IP address?

Your public IP address is the address Internet services see when your connection reaches them. This page reads the address at the Cloudflare edge and shows it in real time together with the IP version, ASN, network organization, approximate country and basic HTTP/TLS connection details.

The address usually belongs to your ISP, mobile carrier, company network, VPN provider or proxy service. Devices on the same home network often share one public IP because they access the Internet through the same router.

Public IP vs private IP

Private ranges such as 192.168.x.x, 10.x.x.x and 172.16.x.x through 172.31.x.x are used inside local networks and are not routed directly across the public Internet. The address displayed above is the external address observed by this service, which is the value you normally need for firewall allowlists, VPN checks, remote access troubleshooting and connection diagnostics.

If your provider uses carrier-grade NAT (CGNAT), many customers can share the same public IPv4 address. Hosting inbound services may then require IPv6, a tunnel, a VPN, port mapping offered by the provider or a dedicated public IP.

IPv4, IPv6, VPNs and IP location

IPv4 and IPv6 are different versions of the Internet Protocol. The tool reports the version that reached the edge for this request. A network can support both protocols without every request using the same one.

When you enable a VPN and refresh this page, the displayed address should normally change to the VPN exit address. IP geolocation is approximate: it may identify a country, region or provider point of presence, but it is not reliable proof of a person’s exact physical location.

How to change or hide your IP address

On connections with a dynamic IP, restarting the router or switching between Wi-Fi and mobile data usually gives you a new address. A VPN or proxy makes websites see their exit IP instead of your provider address. After any change, refresh this page to confirm the new address.

If you need an address that does not change, for a firewall allowlist or to host a server, ask your provider for a static IP. With CGNAT the public IP is shared and does not accept inbound connections; IPv6, a VPN or a paid static IP solve that.

Find your local IP on Windows, macOS, Linux and phones

Your local (private) IP is the address of the device inside your network. On Windows, open Command Prompt and run ipconfig; on macOS, run ipconfig getifaddr en0 in Terminal; on Linux, ip addr. On Android and iPhone, open the Wi-Fi settings and tap the connected network to see its details.

The local IP is what you use to set up printers, forward ports on the router or reach another device on the same network. For anything that involves the Internet, such as allowing access on a remote server or checking a VPN, what counts is the public IP shown at the top of this page.

CLI // CURL // SCRIPTS

Your IP from the command line

Need the public IP in a script, a server or a container? /ip returns only the address, as plain text; /ip.json adds version, country and network. /asn, /country, /ua and /headers answer one thing each, and /cli lists them all. No sign-up, no key, nothing stored.

Linux / macOScurl https://bithappens.com.br/ip
IPv4 / IPv6curl -4 https://bithappens.com.br/ip && curl -6 https://bithappens.com.br/ip
JSONcurl https://bithappens.com.br/ip.json
Windows PowerShellInvoke-RestMethod https://bithappens.com.br/ip
wgetwget -qO- https://bithappens.com.br/ip
ASNcurl https://bithappens.com.br/asn
Countrycurl https://bithappens.com.br/country
User-Agentcurl https://bithappens.com.br/ua
Headerscurl https://bithappens.com.br/headers
Everything (JSON)curl https://bithappens.com.br/all.json
List of commandscurl https://bithappens.com.br/cli

curl -4 or -6 forces the protocol, so you can see both addresses on dual-stack connections. Limit: 30 requests per minute per IP.

IP LOOKUP // ASN // CONTEXT

Analyze another IP or hostname

Your own IP is shown above. Use this module to inspect another public IPv4 address or hostname without switching products.

FAQ

Frequently asked questions

What is my public IP address?

It is the address Internet services see when your connection reaches them. It is shown at the top of this page, read in real time at the Cloudflare edge.

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

A private IP (192.168.x.x, 10.x.x.x, 172.16 to 172.31.x.x) identifies devices inside your local network. The public IP identifies your connection on the Internet and is shared by the devices behind the same router.

Am I using IPv4 or IPv6?

The Version field shows which protocol reached the server for this connection. IPv4 looks like 203.0.113.10; IPv6 uses hexadecimal groups separated by colons, such as 2001:db8::1.

Why does my IP address change?

Most home and mobile connections get a dynamic IP: the provider can assign a new address when the router restarts, the session is renewed or you switch between Wi-Fi and mobile data. A static IP is usually a separate service.

How do I change my public IP?

Restarting the router or switching between Wi-Fi and mobile data usually changes a dynamic IP. A VPN makes websites see the VPN exit address instead. Refresh this page afterwards to check.

Does a VPN change my IP address?

Usually yes. With the VPN on, websites see the VPN exit IP instead of your provider address. Refresh the page and compare the address, ASN and organization.

Why does my IP show a different city?

IP location is approximate. It usually reflects where the provider registers or concentrates that block of addresses, not where you are. On mobile networks and CGNAT the difference can be hundreds of kilometres.

How do I check my IP from the command line?

Run curl https://bithappens.com.br/ip to print just your public IP, or curl https://bithappens.com.br/ip.json for IP, version, country and network as JSON. For your local IP, use ipconfig on Windows, ipconfig getifaddr en0 on macOS or ip addr on Linux.