Before you start
- A running PostgreSQL, MySQL, Valkey or ClickHouse database. Kafka is private only.
Steps
1
Open Access
Open the database and go to the Access tab.
2
Turn it on
In Public access, turn the switch on. It reads On, TLS required.The card shows the hostname, 
<database_id>.public.db.raffusercloud.com, and the ports. For PostgreSQL: 6543 (pooled) and 5432 (direct), plus the database’s own two ports for clients that cannot send the hostname over TLS.
3
Limit who can connect (recommended)
Under Allowed from, enter an IP or CIDR and click Add, or click Add my IP. Then click Save addresses.
- Up to 20 entries, IPv4 only. A single address is saved as
/32. - An empty list means Anywhere: anyone with the password can connect.
Verify
Go to Connect, choose The internet, and connect with the copied string. The switch answers once the address works, usually within a few seconds.Turn it off
Turn the switch off. The public address stops working at once; your VPC and the dashboard keep working. The database keeps its public port, so turning it on again gives the same address and port.Do it from your tools
Next steps
Connect to a database
Connection strings and code.
Networking and security
How the public address, TLS and the allowlist work.