What Is My IP Address?
Whitelist your IP in seconds. Detect your public IP address and get instant whitelist configs for AWS Security Groups, MongoDB Atlas, GCP Firewall, iptables, UFW, and nginx.
# Authorize your IP in a Security Group aws ec2 authorize-security-group-ingress \ --group-id sg-xxxxxxxxxxxxxxxxx \ --protocol tcp \ --port 443 \ --cidr Detecting…/32
resource "aws_security_group_rule" "dev_ip_access" { type = "ingress" from_port = 443 to_port = 443 protocol = "tcp" cidr_blocks = [Detecting…/32] security_group_id = "sg-xxxxxxxxxxxxxxxxx" description = "Dev IP — ipwhitelist.dev" }
Type: Custom TCP · Port: 443 · Source: Detecting…/32
Detecting…/32 # Paste in Atlas → Network Access → Add IP
# brew install mongodb-atlas atlas accessLists create \ --projectId YOUR_PROJECT_ID \ --cidr Detecting…/32 \ --comment "Dev IP — ipwhitelist.dev"
{
"ipAddress": Detecting…,
"comment": "Dev IP — ipwhitelist.dev"
}gcloud compute firewall-rules create allow-dev-ip \ --allow=tcp:443 \ --source-ranges=Detecting…/32 \ --description="Dev IP — ipwhitelist.dev" \ --project=YOUR_PROJECT_ID
gcloud sql instances patch YOUR_INSTANCE \ --authorized-networks=Detecting…/32
sudo iptables -I INPUT -s Detecting… -p tcp --dport 443 -j ACCEPT sudo netfilter-persistent save
sudo ufw allow from Detecting… to any port 443 sudo ufw reload
location /admin {
allow Detecting…;
deny all;
}# Plain IP Detecting… # CIDR /32 (single host) Detecting…/32 # JSON { "ip": Detecting…, "mask": "255.255.255.255" } # curl test curl -v https://api.example.com/ 2>&1 | grep "Connected"
How to find your public IP address
Your public IP address is the unique identifier assigned by your Internet Service Provider (ISP) to your internet connection. Unlike your local or private IP address (typically in the 192.168.x.x or 10.x.x.x range), your public IP is visible to all servers and services you connect to on the internet.
IPWhitelist.dev detects your public IP instantly using two independent sources — ipify.org and ipapi.co — for maximum accuracy and reliability.
What is CIDR notation and why does it matter?
CIDR (Classless Inter-Domain Routing) notation expresses an IP address and its associated network mask. For a single IP address, the CIDR notation appends /32, meaning only that exact address is included. When whitelisting your IP in AWS Security Groups, MongoDB Atlas, or GCP Firewall rules, you must provide the CIDR format — for example, 203.0.113.42/32.
Free developer tools on IPWhitelist.dev
- IP Whitelist Config Generator — Detect your IP and generate AWS, MongoDB, GCP configs
- Port Checker — Test if TCP ports are open on any host
- DNS Lookup — Query A, AAAA, MX, CNAME, TXT and NS records
- WHOIS Lookup — Find domain owner, registrar, and expiry date
- SSL Checker — Verify SSL certificate validity and expiry
- IP Location Map — Find any IP location on an interactive map
- HTTP Headers Checker — Inspect request and security headers
- Latency Test — Measure your RTT to major cloud regions
- User Agent Parser — Full browser and OS fingerprint breakdown
- IPv6 Detector — Check your IPv6 address and connectivity
What is the difference between a public and private IP address?
Your public IP address is the address assigned by your ISP that identifies your network on the internet. It is what websites, servers, and cloud services like AWS Security Groups and MongoDB Atlas see when you connect. Your private IP address, by contrast, is used only within your local network (e.g. 192.168.1.x) and is not visible externally.
When you add your IP to a cloud firewall or security group, you always need to use your public IP address — not your private one. This tool detects your public IP automatically so you can whitelist it in one click without any confusion.
What is the difference between a dynamic and static IP address?
Most home internet connections use a dynamic IP address — meaning your ISP can change it periodically, typically when you restart your router. This is the most common reason developers need to update their AWS Security Groups or MongoDB Atlas access lists frequently.
A static IP address stays the same indefinitely and is typically used by servers and businesses. If you find yourself whitelisting your IP repeatedly, your ISP may offer a static IP upgrade, or you can use a VPN with a dedicated IP as a more permanent solution.
How to hide or change your public IP address
There are several ways to mask your public IP: a VPN (Virtual Private Network) routes your traffic through a server in another location, giving you that server's IP. A proxy server works similarly but typically without encryption. Tor routes traffic through multiple relays for maximum anonymity.
For developers who need a stable IP for cloud whitelisting, a VPN with a dedicated static IP (such as those offered by Mullvad or ProtonVPN) is the most practical solution — you whitelist that IP once and never need to update it again.