Docs/Connect/IP Allowlist

IP Allowlist

Restrict database access to trusted IP addresses only.

What is IP Allowlist?

IP allowlist (also known as IP whitelist) lets you control which IP addresses can connect to your database. Only connections from allowed IPs will be accepted; all others will be rejected.

Default Behavior

All IPs Allowed by Default

By default, PhoenixDB databases accept connections from any IP address. This makes it easy to get started, but we recommend restricting access for production databases.

How to Configure IP Allowlist

1

Open Database Settings

Go to your Dashboard, find your database, and click on "IP Settings" or the security icon.

2

Disable "Allow All IPs"

Toggle off the "Allow All IPs" option to enable IP filtering.

3

Add Trusted IP Addresses

Add the IP addresses that should be allowed to connect.

Add IP Address
203.0.113.50
198.51.100.0/24

Supported IP Formats

FormatExampleDescription
Single IP (IPv4)203.0.113.50One specific IP address
CIDR Range (IPv4)198.51.100.0/24256 addresses (198.51.100.0 - 198.51.100.255)
Single IP (IPv6)2001:db8::1One specific IPv6 address
CIDR Range (IPv6)2001:db8::/32IPv6 subnet

Common Use Cases

🏢 Office Network

Add your office's public IP to allow developers to connect from the office.

☁️ Cloud Provider

Add your application server's IP or IP range (Vercel, AWS, etc.).

🔧 CI/CD Pipeline

Add GitHub Actions or your CI provider's IP range.

🏠 Home/Remote

Add your home IP for remote development (may change with dynamic IPs).

Don't Lock Yourself Out!

Before enabling IP restrictions, make sure to add your current IP address. If you lose access, you can always disable IP filtering from the dashboard (accessible from any IP).

Find Your IP Address

Not sure what your public IP is? You can find it using these methods:

# Using curl

curl ifconfig.me

# Or visit

https://whatismyip.com