• Resolved nitrospectide

    (@nitrospectide)


    I have Redis installed and running, and it’s reachable at /home/[username]/.redis/redis.sock

    The web host uses port 0 for Redis.

    I set the port with define( ‘WP_REDIS_PORT’, 0 );

    And I tried multiple things for the Redis host:

    define( ‘WP_REDIS_HOST’, ‘localhost’ );

    define( ‘WP_REDIS_HOST’, ‘[IP.ADD.RE.SS]’ ); (the server’s shared IP)

    But I still get the message “Redis is unreachable: Connection refused” in the plugin. What do I need to do?

Viewing 1 replies (of 1 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Check the README. This is how you connect to a socket:

    define( 'WP_REDIS_SCHEME', 'unix' );
    define( 'WP_REDIS_PATH', '/home/[username]/.redis/redis.sock' );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.