Title: Warning: Redis::connect
Last modified: March 7, 2017

---

# Warning: Redis::connect

 *  Resolved [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/)
 * Warning: Redis::connect(): connect() failed: Connection refused in xxxxx/httpdocs/
   wp-content/object-cache.php on line 418 , Please help
 * Regards,

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8884766)
 * Please read installation instructions, if that doesn’t help post your diagnostics.
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8894524)
 * Status: Not connected
 * PHP Version: 7.0.16
    Multisite: No Redis: 3.1.1 Predis: 1.1.1 Status: Not Connected
   Client: PECL Extension (v3.1.1) WP_REDIS_SCHEME: “tcp” WP_CACHE_KEY_SALT: “mysite.
   com” Drop-in: Valid Global Prefix: “wp_3tvcbc_” Blog Prefix: “wp_3tvcbc_” Global
   Groups: [“blog-details”,”blog-id-cache”,”blog-lookup”,”global-posts”,”networks”,”
   rss”,”sites”,”site-details”,”site-lookup”,”site-options”,”site-transient”,”users”,”
   useremail”,”userlogins”,”usermeta”,”user_meta”,”userslugs”] Ignored Groups: [“
   counts”,”plugins”,”blog-details”,”blog-id-cache”,”blog-lookup”,”global-posts”,”
   networks”,”rss”,”sites”,”site-details”,”site-lookup”,”site-options”,”site-transient”,”
   users”,”useremail”,”userlogins”,”usermeta”,”user_meta”,”userslugs”,”bp”,”bp_last_activity”,”
   bp_member_type”,”bp_xprofile”,”bp_xprofile_data”,”bp_xprofile_fields”,”bp_xprofile_groups”,”
   xprofile_meta”,”bp_activity”,”bp_activity_comments”,”activity_meta”,”blog_meta”,”
   bp_friends_requests”,”bp_friends_friendships”,”bp_friends_friendships_for_user”,”
   bp_groups”,”bp_group_admins”,”bp_group_invite_count”,”group_meta”,”bp_groups_memberships”,”
   bp_groups_memberships_for_user”,”bp_messages”,”bp_messages_threads”,”bp_messages_unread_count”,”
   message_meta”,”bp_notifications”,”notification_meta”,”themes”]
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8894762)
 * Looks like you didn’t setup any of the connection parameters (except `WP_REDIS_SCHEME`),
   you can read more about them here: [https://wordpress.org/plugins/redis-cache/other_notes/](https://wordpress.org/plugins/redis-cache/other_notes/)
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8895098)
 * It’s still display – Warning: Redis::connect(): connect() failed: Connection 
   refused in xxxxx/httpdocs/wp-content/object-cache.php on line 418
 * Status: Not Connected
 * PHP Version: 7.0.16
    Multisite: No Redis: 3.1.1 Predis: 1.1.1 Status: Not Connected
   Client: PECL Extension (v3.1.1) WP_REDIS_CLIENT: “pecl” WP_REDIS_SCHEME: “tcp”
   WP_REDIS_HOST: “127.0.0.1” WP_REDIS_PORT: “6379” WP_REDIS_DATABASE: “0” WP_CACHE_KEY_SALT:“
   cookkoo.com” Drop-in: Valid Global Prefix: “wp_3tvcbc_” Blog Prefix: “wp_3tvcbc_”
   Global Groups: [“blog-details”,”blog-id-cache”,”blog-lookup”,”global-posts”,”
   networks”,”rss”,”sites”,”site-details”,”site-lookup”,”site-options”,”site-transient”,”
   users”,”useremail”,”userlogins”,”usermeta”,”user_meta”,”userslugs”] Ignored Groups:[“
   counts”,”plugins”,”blog-details”,”blog-id-cache”,”blog-lookup”,”global-posts”,”
   networks”,”rss”,”sites”,”site-details”,”site-lookup”,”site-options”,”site-transient”,”
   users”,”useremail”,”userlogins”,”usermeta”,”user_meta”,”userslugs”,”bp”,”bp_last_activity”,”
   bp_member_type”,”bp_xprofile”,”bp_xprofile_data”,”bp_xprofile_fields”,”bp_xprofile_groups”,”
   xprofile_meta”,”bp_activity”,”bp_activity_comments”,”activity_meta”,”blog_meta”,”
   bp_friends_requests”,”bp_friends_friendships”,”bp_friends_friendships_for_user”,”
   bp_groups”,”bp_group_admins”,”bp_group_invite_count”,”group_meta”,”bp_groups_memberships”,”
   bp_groups_memberships_for_user”,”bp_messages”,”bp_messages_threads”,”bp_messages_unread_count”,”
   message_meta”,”bp_notifications”,”notification_meta”,”themes”]
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8895143)
 * That means that you’re not setting the right credentials.
 *  Thread Starter [jookkoo](https://wordpress.org/support/users/jookkoo/)
 * (@jookkoo)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8895416)
 * What it’s mean? please help to explain.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/warning-redisconnect/#post-8895514)
 * This plugin can not connect to your Redis server, because you did not set the
   right connection parameters in your `wp-config.php` file.
 * Ask your server admin for the correct Redis connection parameters.
 * You can read more about the connection parameters here: [https://wordpress.org/plugins/redis-cache/other_notes/](https://wordpress.org/plugins/redis-cache/other_notes/)
 *  [sagarsarkar](https://wordpress.org/support/users/sagarsarkar/)
 * (@sagarsarkar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/warning-redisconnect/#post-9116080)
 * Hi Till,
    I have checked the installation process and activated Redis for one
   of my wordpress site hosted at pantheon. Under Connection Parameters, You have
   mentioned some constants to be placed at wp-config.php. I am not pretty sure,
   what exactly I set as values for those constants. Like WP_REDIS_HOST, the default
   is 127.0.0.1. I understood that setting new values for these constants at wp-
   config.php will overwrite the defaults have been given at object-cache.php file.
   So, here my question is, what shall I put for dev/test/live instances probably
   for all constants? Mainly I am done with 3 initial steps.. 1. Activated Redis
   at pantheon (dev). 2. Installed Redis Object Cache cache. 3. Created same copy
   of wp-content/plugins/redis-cache/includes/object-cache.php at wp-content/. Now
   I am not sure what would be the host, port, DB, password etc at least for Pantheon
   dev. So, if you have any idea to share with me, please?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/warning-redisconnect/#post-9117406)
 * I’d suggest you ask Pantheon for the Redis connection details.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Warning: Redis::connect’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/warning-redisconnect/#post-9117406)
 * Status: resolved