No, the PRedis library does not attempt to establish a connection with the Redis cluster through the localhost by default. It requires the user to specify the IP address and port of the Redis cluster. However, if the Redis cluster is running on the same machine as the PRedis client, then the localhost can be used as the IP address.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2023-05-06 10:30:30 +0000
Seen: 11 times
Last updated: May 06 '23