Updated on 2023-11-21 GMT+08:00

Changing a Database Port

Scenarios

This section describes how to modify the database port to ensure system security.

The database port cannot be changed when the instance is in any of the following statuses:

  • Frozen
  • Restarting
  • Adding nodes
  • Changing instance class
  • Scaling up
  • Deleting node

Precautions

This function is in the open beta test (OBT) phase. Contact customer service to apply for the function.

Procedure

  1. Log in to the management console.
  2. In the service list, choose Databases > GeminiDB Mongo API.
  3. On the Instances page, click the target DB instance.
  4. In the navigation pane on the left, choose Connections.
  5. In the Basic Information area, click to right of the Database Port field.

    The database port ranges from 2100 to 9500 and cannot be 8636, 8637, or 8638.

    • To submit the change, click . This process takes about 1 to 5 minutes.
    • To cancel the change, click .

  6. View the modification result.