You can customize a port in the range of 1024 to 65535 for an Apsaradb for Redis instance.

Prerequisites

The Apsaradb for Redis instance is in the running state.

Modification impact

After the port is modified, you need to use the new port when you access the ApsaraDB for Redis instance. Make sure that the setting of the application is modified accordingly.

Procedure

  1. Log on to the ApsaraDB for Redis console.
  2. In the top navigation bar, select the region where the instance is located.
  3. On the Instance List page, click the instance ID.
  4. On the Instance Information page, click Modify Public Endpoint in the upper-right corner of the Connection Information section.
  5. In the Modify Public Endpoint dialog box, complete the following operations.
    1. Select a Connection Type according to your scenario.
    2. Modify the port number.
    3. Click OK.