Updated on 2025-02-26 GMT+08:00

Changing a Database Port

You can change the database port of a TaurusDB instance.

Constraints

  • The database port of a DB instance with database proxy enabled cannot be changed.
  • If there is an HTAP instance, the database port of the DB instance cannot be changed.
  • The change will be applied to the ports of the primary node and read replicas.
  • If you change the database port of a DB instance, the ports of the primary node and read replicas are changed accordingly and all of them are rebooted.
  • It takes about 1 to 5 minutes to change a database port.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page, choose Databases > TaurusDB.
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the Network Information area, click under Database Port.

    The database port of a TaurusDB instance ranges from 1025 to 65534, excluding 5342, 5343, 5344, 5345, 12017, 20000, 20201, 20202, 33060, 33062, and 33071, which are reserved for system use.

  6. In the displayed dialog box, enter a new database port and click OK.