Discovery of Redis server fails with message "Unable to connect to host: <hostname> port: <port number>".

Discovery of Redis server fails with message "Unable to connect to host: <hostname> port: <port number>".

Solution:
  • Confirm that the Redis host and port are accessible from the server on which the Applications Manager product is installed. Ensure that there are no network restrictions or firewall rules preventing access to the Redis server. To verify the accessibility of the Redis host and port, open a command prompt on the server where Applications Manager is installed and run the following command: 
    telnet <Redis_hostname> <Redis_port_number>
    Replace <Redis_hostname> with the actual hostname or IP address of the Redis server, and <Redis_port_number> with the port number you are trying to connect to (ex: telnet 192.168.1.100 6379 ). If the connection is successful, you will see a blank screen; otherwise, it will show an error message indicating that the connection failed.
  • In the Redis server's installation directory, review the port and bind entries in redis.conf file. Check if the Redis TCP port number (usually 6379) given is correct.  Also, verify the value of the bind configuration. If it is set to a specific IP address, make sure it is the correct IP address of the Redis server that is accessible from the Applications Manager server. If it is set to 0.0.0.0 (allowing connections from all available network interfaces), it should allow connections from external hosts. 
  • If the Redis server is running in authenticated mode, enable "Is Authentication required" setting and provide the correct password.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Unable to connect to the host / port

                      Follow the below steps to troubleshoot the error Make sure the service you're trying to connect to is actually running on the designated host. Confirm the port number is correct. If the monitor supports SSL, try enabling or disabling the SSL is ...
                    • While adding a mongoDB server, it fails with message "Unable to connect to the host / port".

                      Solution: Check if the mongod / mongos instance is running in the host name specified. Check if the port number is given correctly. If mongod / mongos is running in authenticated mode, then enable "Is Authentication required" and give correct ...
                    • Discovery of Redis server fails with message "Operation not permitted".

                      Reason: This error happens because the server is running in authenticated mode and you are trying to connect without authentication. Check the file redis.conf in the Redis server for the string "requirepass" and give that password in the discovery ...
                    • Mail Server Monitor - Troubleshooting

                      Common Mail Server Monitor Errors and Troubleshooting Guide 1. Unknown Host Error Description: This error occurs when the mail client cannot resolve the hostname of the mail server to an IP address. The issue typically arises from DNS resolution ...
                    • UDP Port Monitor - Troubleshooting

                      How do we monitor UDP Port? UDP is a connectionless protocol which doesn't send any acknowledgement on connecting to the UDP port like TCP. When UDP port is not open system will send ICMP port unreachable message. The Issue is when the UDP port is ...