How do I connect to my Redis server?
- In the panel, open My servers and click your server.
- On the Overview tab, wait for the App row to say "Redis is ready". The page refreshes itself.
- Copy the details from the Connection address and Password rows.
Connecting
From the command line:
redis-cli -h IP -a PASSWORD
Connection string: redis://:PASSWORD@IP:6379/0
Data is also written to disk (AOF), so it survives a server restart. The memory limit is set to about three quarters of the RAM during installation (maxmemory). At the limit, Redis refuses new writes. If you resize your server, raise the value in /etc/redis/redis.conf and run systemctl restart redis-server.
Security
- Database port 6379 is open to the internet. To let only your own servers connect, limit it in the firewall:
ufw delete allow 6379/tcp, thenufw allow from YOUR_IP to any port 6379. - Connections come without TLS. The password and data are not encrypted, so we recommend limiting access to your own IP address.
No server yet? Order a server with Redis installed: you choose the size and pay for what you choose.
Thanks for your feedback!