Title: Connection Refuse
Last modified: February 14, 2022

---

# Connection Refuse

 *  Resolved [jeroenvanderheiden](https://wordpress.org/support/users/jeroenvanderheiden/)
 * (@jeroenvanderheiden)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/)
 * Hi,
 * Issues getting Redis active.
 * Redis activated, php 7.4
    wp-config file set-up correct (according settings webhost)
   but getting below error
 *     ```
       Status: Niet verbonden
       Client: PhpRedis (v5.3.2)
       Drop-in: Valid
       Disabled: No
       Ping: 
       Connection Exception: php_network_getaddresses: getaddrinfo failed: Name or service not known (RedisException)
       Errors: [
           "php_network_getaddresses: getaddrinfo failed: Name or service not known"
       ]
       PhpRedis: 5.3.2
       Relay: Not loaded
       Predis: Not loaded
       Credis: Not loaded
       PHP Version: 7.4.27
       Plugin Version: 2.0.23
       Redis Version: Unknown
       Multisite: No
       Metrics: Disabled
       Metrics recorded: null
       Filesystem: Working
       Global Prefix: "wp_"
       Blog Prefix: "wp_"
       WP_REDIS_HOST: "local.host"
       WP_REDIS_PORT: "7293"
       WP_REDIS_DATABASE: "0"
       WP_REDIS_PASSWORD: ••••••••
       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: [
           "advanced-cache.php v by ",
           "Redis Object Cache Drop-In v2.0.23 by Till Krüss"
       ]
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconnection-refuse%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/#post-15364951)
 * PHP can’t resolve `local.host` on port `7293`. Try removing the dot from it, 
   or using `127.0.0.1`.
 *  Thread Starter [jeroenvanderheiden](https://wordpress.org/support/users/jeroenvanderheiden/)
 * (@jeroenvanderheiden)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/#post-15364962)
 * Thanks for the quick response, both options gave back:
 *     ```
       Status: Niet verbonden
       Client: PhpRedis (v5.3.2)
       Drop-in: Valid
       Disabled: No
       Ping: 
       Connection Exception: Connection refused (RedisException)
       Errors: [
           "Connection refused"
       ]
       PhpRedis: 5.3.2
       Relay: Not loaded
       Predis: Not loaded
       Credis: Not loaded
       PHP Version: 7.4.27
       Plugin Version: 2.0.23
       Redis Version: Unknown
       Multisite: No
       Metrics: Disabled
       Metrics recorded: null
       Filesystem: Working
       Global Prefix: "wp_"
       Blog Prefix: "wp_"
       WP_REDIS_HOST: "localhost"
       WP_REDIS_PORT: "7293"
       WP_REDIS_DATABASE: "0"
       WP_REDIS_PASSWORD: ••••••••
       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: [
           "advanced-cache.php v by ",
           "Redis Object Cache Drop-In v2.0.23 by Till Krüss"
       ]
       ```
   
 * I am using Cloudflare CDN and WP Rocket – since this is object server caching
   i do not expect the root cause of interference there right?
 * Any tricks left?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/#post-15364997)
 * `Connection refused` means PHP can lookup the address but Redis is not running
   on that port. I’d ask your hosting provider for assistance.
 *  Thread Starter [jeroenvanderheiden](https://wordpress.org/support/users/jeroenvanderheiden/)
 * (@jeroenvanderheiden)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/#post-15364999)
 * Okay thanks so far Till

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

The topic ‘Connection Refuse’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [jeroenvanderheiden](https://wordpress.org/support/users/jeroenvanderheiden/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/connection-refuse/#post-15364999)
 * Status: resolved