How to setup redis cluster with django on digital ocean?

  • Posted November 23, 2020
  • Redis

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.


Submit an 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