Users may encounter a scenario where the Redis service is running but inaccessible on port 6379.
Connectivity tests result in a "Connection Refused" error, preventing external services such as RAAS from establishing a connection.
Aria Config 8.x
The Redis server was configured in the "/etc/redis/redis.conf
" file to bind only to the loopback IP address 127.0.0.1, restricting external connections.
Binding Redis to the loopback address (127.0.0.1) limits its accessibility to the local machine, preventing services like RAAS from communicating with Redis.
Verification Steps
netstat -entlp
curl -v telnet://redis:6379
Solution
Update Redis Configuration:
/etc/redis/redis.conf
"Example:
bind <IP address of Redis Server>
Restart the Redis Service:
service redis restart
Updating the redis.conf file to bind Redis with IP address resolved the connectivity issue. Post-configuration changes:
Additional Notes
This solution ensures seamless communication between Redis and external services, improving overall system functionality.