Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.