Closed luigonsec closed 4 years ago
Object format is:
{ "host":"10.0.0.189", "port":6379, "db":5 }
Now you could add connection string to Config node too...
Look the two options...
By default, Redis can only be accessed locally. In addition to the object format @chameleonbr, you need to edit the Redis config file, usually found at etc/redis/redis.conf
. Find and comment out the line bind 127.0.0.1
. Just below it, add the line bind 0.0.0.0
. The Redis server will now listen to all incoming IP addresses, rather than only localhost. This works for me, because in my system, security access is controlled at the network level, not at the individual app level. Reference: Baeldung: Connecting to a Remote Redis Server
Hi guys!
I am facing a rare problem with the node-red-contrib-redis module. No matter how I configure the server, it always sends the commands to localhost.
I attach pictures of how I am configuring the node, maybe that is not the way to do it.
Any idea of what could be happening?