What is my IP address

This is the address your connection uses on the internet, as our server sees it. You need it to allow yourself through a server's firewall, to set up SSH access or to check that a VPN works.

Your IPv4 address 216.73.217.113
Version
IPv4
Type
Public
Reverse DNS
Looking up…

If your connection has both IPv4 and IPv6, your browser picked one of them to reach this page, usually IPv6. A server you connect to may see the other one.

Allow only this address
ufw
sudo ufw allow from 216.73.217.113 to any port 22 proto tcp

Home connections often get a new address now and then. Keep another way in, such as the provider's web console, before you lock SSH to one address.

Need an address of your own that never changes? Every VPS comes with a public IP, and most include an IPv4 in the price. From €3.02 a month today, among 2,226 servers.

Your address is read from this request and shown only to you. It is not stored or logged.

How this works

Every request your browser makes carries the address it came from. This page reads that address on our server and sends it back to you. Behind a home router, every device in the house shares the router's public address; on mobile networks many customers can share one (carrier-grade NAT).

A VPN or proxy replaces your address with its own, so with one switched on you see the VPN's address here. That is a quick way to check that the VPN works.

Reverse DNS is the name the owner of the address gave it. For a home connection it usually names your internet provider; for a server it is the name its provider or you set, which mail servers check before they accept mail.

Example

You want SSH on a new VPS to answer only you. Copy the firewall line above, run it on the server, then remove the general rule with sudo ufw delete allow 22/tcp. Keep the provider's console open in another tab in case your address changes.

Questions

What is the difference between IPv4 and IPv6?

IPv4 addresses are four numbers such as 203.0.113.5, and there are only about four billion of them, which is why they now cost money. IPv6 addresses are longer, written in hexadecimal such as 2001:db8::1, and there are enough for every device to have its own.

Why does my IP address change?

Most home and mobile providers give out addresses from a shared pool and assign a new one when the router reconnects or after a set time. A fixed address usually costs extra. A server's address stays the same for as long as you keep the server.

Is it safe to show my IP address?

Every website you visit already sees it. It shows your provider and a rough location, usually the city or region, not your street. This page does not store it.

How do I find a server's IP address?

Your provider shows it in the control panel. On the server itself, ip addr lists its addresses, and curl -4 ifconfig.me or a DNS lookup of its domain shows the public one.