How can we help?

Search our guides and tutorials, or browse the categories below.

How do I connect to my Redis server?

Apps 105 views Markdown
  1. In the panel, open My servers and click your server.
  2. On the Overview tab, wait for the App row to say "Redis is ready". The page refreshes itself.
  3. 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, then ufw 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.

Was this helpful?

Thanks for your feedback!

Still Need Help?

If you can't find what you need, get in touch.