Connect to Redislabs.com Free subscription – Connection Timeout
-
Dear all
I have subscribed a free plan in redislabs.com, and tried to use this plugin to connect to my endpoint, but it doesn’t work. It returns: Connection Timeout:
Here are the code in wp-config.php
define(‘WP_CACHE_KEY_SALT’, ‘my_key_salt’);
define(‘WP_REDIS_SELECTIVE_FLUSH’, true);define(“WP_REDIS_SCHEME”, ‘tcp’);
define(“WP_REDIS_HOST”, ‘redis-xxxxx.xxx.xxxxxx.ec2.cloud.redislabs.com’);
define(“WP_REDIS_PORT”, 17947);
define(“WP_REDIS_DATABASE”, 0);
define(“WP_REDIS_PASSWORD”, “mypassword”);Here are what I have tried:
– I follow this page: https://redislabs.com/redis-cloud-documentation/quick-setup-redis-cloud/ and using telnet. IT works.
– I tried using different values in WP_REDIS_SCHEME: tcp, http, unix, tls and they are all NOT WORKING>
– I tried put tcp:// in front of WP_REDIS_HOST and :17947 at the end of the URL, NOT WORKING.The exception thrown when calling ping() is: Connection Timeout.
Can you please tell me what is the problem and how to solve it?
Thank you very much.
- The topic ‘Connect to Redislabs.com Free subscription – Connection Timeout’ is closed to new replies.