All Products
Search
Document Center

Tair (Redis® OSS-Compatible):Change the endpoint or port

Last Updated:Nov 25, 2025

Tair (Redis OSS-compatible) lets you modify the endpoint and port number of an instance. For example, you can change the port number to enhance security or change the endpoint of a new instance to match the original instance's endpoint without modifying your application.

Prerequisites

The instance is in the Running state.

Procedure

  1. Log on to the console and go to the Instances page. In the top navigation bar, select the region in which the instance that you want to manage resides. Then, find the instance and click the instance ID.

  2. On the Instance Information page, in the Connection Information section, locate the connection type that you want to modify and click Modify in the Actions column.

  3. In the panel that appears on the right, specify a new endpoint and port number.

    Parameter

    Description

    Endpoint

    • You can modify only the prefix of the endpoint. By default, the prefix is the instance ID.

    • The prefix must be 8 to 40 characters in length and can contain lowercase letters and digits. It must start with a lowercase letter.

    Port Number

    You can change the port when you modify the endpoint. The port number ranges from 1 to 65535.

  4. Click OK.

Related API operations

API

Description

ModifyDBInstanceConnectionString

Changes the endpoint and port number of an instance.