Connection Refused error when connecting to Kubernetes Redis Service Connection Refused error when connecting to Kubernetes Redis Service kubernetes kubernetes

Connection Refused error when connecting to Kubernetes Redis Service


The connection refused error was cause by the redis configuration.

I had to change the redis host from localhost to 0.0.0.0 in order to allow external connections.

In redis.conf I changed this line:

bind 127.0.0.1

to this:

bind 0.0.0.0