I’m trying to setup credentials for the Redis Chat Memory but I can’t get it working. I have installed Redis locally on Linux (not via Docker) and I can use Redis via the redis-cli just fine without any password.
Since the N8N node requires a password I set a password for the ‘default’ user and tried connecting but it didn’t work. Am I supposed to input something else into the password field in the node aside from the plain password? How can I get it working?
This is a fairly common issue, If you are running n8n in Docker it won’t be able to use 127.0.0.1 to access a service on the host machine as the IP is reverved and points to the machine or container so in this case 127.0.0.1 points to the n8n container which won’t be running Redis.
What you can do is use either the IP of your host machine or if using the default Docker networking you can use 172.17.0.1 which is the default docker loopback for host machine.