tencent cloud

Feedback

Connection and Login

Last updated: 2022-01-14 11:13:13

    How do I connect to a TencentDB for Redis instance?

    You can connect to a TencentDB for Redis instance using a client tool, the database management center (DMC), and SDKs supporting various programing languages. For more information, see Connecting to TencentDB for Redis Instances (over Private Network).

    What should I do if the connection to TencentDB for Redis failed?

    Common causes of connection failure: network/security group issues, password issues, and connection issues (i.e., the maximum number of connections has been reached). For corresponding solutions, see Redis Instance Connection Failure.

    How can TencentDB for Redis support private network access? How do I view the private network address of my instance?

    To support private network access, the CVM and TencentDB instances must be under the same account and in the same VPC in the same region, or both in the classic network.

    To view the private network address, log in to the TencentDB for Redis console, view the address in the instance list, or click an instance ID and view the address on the displayed instance details page.

    Can my CVM instance connect to TencentDB for Redis over private network?

    1. The following conditions must be met to use the private network connection:
      The CVM and TencentDB instances must be under the same account and in the same VPC in the same region, or both in the classic network.
    2. You can check whether they are in the same VPC or both in the classic network in the following ways:

    What should I do if my CVM and TencentDB for Redis instances are in different VPCs?

    You can connect to instances through CCN.
    CVM and TencentDB instances in different VPCs (under the same or different accounts in the same or different regions) can be interconnected over private network through Cloud Connect Network.

    My CVM and TencentDB for Redis instances are in different regions (such as Guangzhou and Shanghai, respectively). Can I use a private network for connection?

    If CVM and Redis instances are in different regions, they are in different VPCs, so they cannot interconnect directly over private network. We recommend that you use CCN to connect the VPCs.

    My CVM and TencentDB for Redis instances are in different AZs (such as Shanghai Zone 2 and Shanghai Zone 1, respectively) in the same region. Can I use a private network for connection?

    Even if the CVM and TencentDB for Redis instances are in the same region, they may be in different VPCs.

    • If they are in different AZs in the same VPC, they can interconnect over private network.
    • If they are in different VPCs (such as VPC 1 and VPC 2, respectively), they cannot interconnect over private network. For solutions, see Redis Network Change.

    My CVM and TencentDB for Redis instances are in different AZs (such as Shanghai Zone 2 and Shanghai Zone 1, respectively) in the same VPC. Can I use a private network for connection?

    Yes. Instances in different AZs but in the same VPC interconnect over private network by default.

    My CVM and TencentDB for Redis instances are under different accounts. Can I use a private network for connection?

    No. Because instances under different accounts are in different VPCs. We recommend that you use CCN for connection.

    How do I enable access to Redis over public network?

    For more information, see Configuring Public Network Address.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support