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

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

1. Check Host and Port Accessibility

Ensure that the Redis host and port are accessible from the server where Applications Manager is installed. Make sure there are no network restrictions or firewall rules blocking access to the Redis server.
To verify connectivity, open a command prompt on the Applications Manager server and run:
Quote
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 (e.g., telnet 192.168.1.100 6379).
  1. A blank screen indicates a successful connection.
  2. An error message means the connection failed.

2. Validate Redis Configuration

Navigate to the Redis server’s installation directory and review the redis.conf file:
  1. Ensure the port entry reflects the correct Redis TCP port (default: 6379).
  2. Check the bind directive:
  1. If it is set to a specific IP address, confirm that it matches the correct and accessible IP of the Redis server.
  2. If it is set to 0.0.0.0, it allows connections from all network interfaces (including remote hosts).

3. Authentication Settings

If the Redis server is running in authenticated mode, enable the Authentication Type setting, select the appropriate authentication method, and provide the required credentials.

                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 ...
                    • 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 ...
                    • 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 ...
                    • Unable to connect to the host

                      Follow the below steps to troubleshoot the error Check if the given Host Name / IP Address is correct. Run the below command in Applications Manger installed server to ensure Host / IP Address is reachable. ping <Host Name/IP Address> Eg: ping ...
                    • Oracle Database Server Discovery Fails with an Error Message

                      Error: Failed. Oracle Server is down. Error Message: IO Error: The Network Adapter could not establish the connection Solution 1: The Oracle server is down, please ensure that the server is up and running. Solution 2: The Oracle server is not ...