• Resolved marzian

    (@marzian)


    Hello,
    This is my configuration:

    Status: Not Connected
    Redis Version: Unknown
    Client: PhpRedis (v5.1.1)
    Drop-in: Valid
    Connection Exception: Connection timed out (RedisException)
    Redis Extension: 5.1.1
    Predis Client: 1.1.1
    PHP Version: 7.0.33-0+deb9u7
    WP_REDIS_HOST: “10.19.183.83”

    And this is the connection error:
    “Connection Exception: Connection timed out (RedisException)”

    I’m trying to connect to a Google Cloud Platform Redis Istance. What should I do, other than setting the host? When Redis was on localhost, it worked.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Sounds like a firewal issue.

    Also you should really consider using a PHP version that gets security updates which would be PHP 7.2 and above as of March 2020 https://www.php.net/supported-versions.php

    Thread Starter marzian

    (@marzian)

    Thanks, it was indeed just a firewall issue. On the VPC network, incoming TCP/6379 was already open… But I realized that I created the Memorystore istance in a different region than the Compute Engine one!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redis istance on GCP’ is closed to new replies.