Allow Your Servers to Connect
Your cache only accepts connections from IP addresses on its allowed list. Everything else is blocked before it reaches the cache.
- Open Valkey Cache in the control panel.
- Under Allowed client IPs, enter a server's public IP address, for example
203.0.113.10, and add it. - The change takes effect within a few seconds.
- You can allow up to 20 addresses or ranges per cache.
- A range works too (
203.0.113.0/24), up to a /16 for IPv4 or a /48 for IPv6. - Remove an address with the × next to it; that server can no longer connect.
Not sure of a server's public address? On the server run curl -4 ifconfig.me.