If you are connecting via the internal Redis URL provided, can you try removing the socket.family config, as this will try and resolve the address via IPv6: https://github.com/redis/node-redis/blob/HEAD/docs/client-configuration.md. I suspect this may be causing the internal address to not resolve correctly.