Self-host : Connecting to redis-server?

I’d like to try using redis, either as a container or just running on the server where my nocodb container lives, but I’m missing something. In the latter case, I’ve tried (after setting a pw in redis.conf):

  • -e NC_REDIS_URL=redis://:PW@localhost:6379
  • -e NC_REDIS_URL=“redis://:PW@localhost:6379”
  • -e NC_REDIS_URL=redis://:PW@127.0.0.1:6379

I’ve also attempted it without a password (though I’m less certain of the formatting of that).

Nocodb’s log shows:

[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1606:16)

The redis log doesn’t show an attempt to connect.

Please google/chatgpt for these things - here is the response from chatgpt

That never would have occurred to me. Humanity bias or something.

Thanks, Navi!

1 Like