Title: Not connected error
Last modified: February 14, 2021

---

# Not connected error

 *  Resolved [tambergirn](https://wordpress.org/support/users/tambergirn/)
 * (@tambergirn)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-connected-error/)
 * I added the following in wp-config.php but still, the plugin is showing not connected.
 * define(‘WP_REDIS_HOST’, ‘redis’);
    define(‘WP_CACHE’, true);
 * Here is my diagnostics:
 *     ```
       Status: Not connected
       Client: PhpRedis (v5.3.3)
       Drop-in: Valid
       Disabled: No
       Ping: 
       Connection Exception: Connection refused (RedisException)
       Errors: [
           "Connection refused"
       ]
       PhpRedis: 5.3.3
       Predis: Not loaded
       Credis: Not loaded
       PHP Version: 7.4.15
       Plugin Version: 2.0.17
       Redis Version: Unknown
       Multisite: No
       Filesystem: Working
       Global Prefix: "wp_"
       Blog Prefix: "wp_"
       WP_REDIS_PREFIX: "2r-zS8$Hwa[WvD5j%9j;[V`
       m76N*4)gKZoDb.|:)d0l0?{-{]jDQnEc!x^WCpmHV"
       WP_CACHE_KEY_SALT: "2r-zS8$Hwa[WvD5j%9j;[V`m76N*4)gKZoDb.|:)d0l0?{-{]jDQnEc!x^WCpmHV"
       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",
           "redis-cache"
       ]
       Ignored Groups: [
           "counts",
           "plugins",
           "themes",
           "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",
           "redis-cache",
           "blog_meta"
       ]
       Unflushable Groups: []
       Drop-ins: [
           "maintenance.php v by ",
           "Redis Object Cache Drop-In v2.0.17 by Till Krüss"
       ]
       ```
   
    -  This topic was modified 5 years, 3 months ago by [tambergirn](https://wordpress.org/support/users/tambergirn/).
    -  This topic was modified 5 years, 3 months ago by [Yui](https://wordpress.org/support/users/fierevere/).
      Reason: please use CODE button for code formatting

Viewing 1 replies (of 1 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/not-connected-error/#post-14048072)
 * Hi!
 * `WP_CACHE` is unrelated to this plugin, or object caching in general.
 * “Connection refused” leads me to believe that you DO NOT have Redis Server running.
   If you do, then your container is unable to connect to your `redis` container.

Viewing 1 replies (of 1 total)

The topic ‘Not connected error’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/not-connected-error/#post-14048072)
 * Status: resolved