• to_sam

    (@to_sam)


    When trying to connect, i get:

    Redis is unreachable: Connection refused [tcp://xxx.redis.cache.windows.net:6379]

    Notice that in my case, xxx is replaced with the correct host name.

    Status: Not enabled
    Client: 
    Drop-in: Not installed
    Disabled: No
    PhpRedis: 6.0.1
    Relay: Not loaded
    Predis: 2.1.2
    Credis: Not loaded
    PHP Version: 8.2.11
    Plugin Version: 2.5.0
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: 0
    Filesystem: Writable
    WP_REDIS_SCHEME: "tcp"
    WP_REDIS_HOST: "xxx.redis.cache.windows.net"
    WP_REDIS_PORT: "6379"
    WP_REDIS_DATABASE: "0"
    WP_REDIS_TIMEOUT: 10
    WP_REDIS_READ_TIMEOUT: 10
    WP_REDIS_PLUGIN_PATH: "/.../redis-cache"
    WP_REDIS_PASSWORD: ????????
    Drop-ins: [
        "advanced-cache.php v by "
    ]

    Notice that my Azure Cache for Redis is not provided by the hosting provider of my wordpress site. Instead, I have purchased my own instance of Azure Cache.

    My Azure Cache for Redis is up and running. I can successfully PING-PONG it via telnet. What else should I do?

    • This topic was modified 11 months ago by to_sam.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Julie

    (@julieadrienne)

    Can you ping the Redis instance FROM your web server, or is it missing the correct network/VPN?

    Thread Starter to_sam

    (@to_sam)

    I can ping it from redis-cli without any problems. I don’t quite know how to ping it FROM the web server since my website is hosted by a hosting provider called alfahosting.

    Plugin Support Julie

    (@julieadrienne)

    Are you using redis-cli on your local machine, or via SSH on your web/app server?

    Thread Starter to_sam

    (@to_sam)

    On my local machine.

    Plugin Support Julie

    (@julieadrienne)

    You’ll have to make sure that the web server can connect using SSH or a PHP script.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Connection refused’ is closed to new replies.