Report this

What is the reason for this report?

How to setup redis cluster with django on digital ocean?

Posted on November 23, 2020

I followed every tutorial related to redis cluster but failed to connect the database with my local env, I’m using window but time out or connection refused error occurs.

I tried PostgreSQL cluster its works fine with my local env.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @digitvlhub,

Note that with the Managed Redis Clusters you need to connect over TLS. I believe that for Djago you need to change the connection from redis:// to rediss://.

Note the extra s

Let me know how it goes. Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.