:original_name: dds_03_change_database_port.html

.. _dds_03_change_database_port:

Changing the Database Port
==========================

**Scenarios**
-------------

This section guides you on how to modify the database port. The database port cannot be changed when the instance is in any of the following statuses:

-  Restarting
-  Adding node
-  Switching SSL
-  Changing instance class
-  Deleting node
-  Creation failed

-  Creating

Procedure
---------

#. :ref:`Log in to the DDS console. <dds_02_0043>`

#. On the **Instance Management** page, click the target DB instance. The **Basic Information** page is displayed.

#. In the **Network Information** area, click |image1| to right of the **Database Port** field.

   Alternatively, in the navigation pane on the left, choose **Connections.**

#. In the **Basic Information** area, click |image2| to right of the **Database Port** field.

   The database port range is 2100 to 9500.

   -  To submit the change, click |image3|. This process takes about 1 to 5 minutes.
   -  To cancel the change, click |image4|.

#. View the modification result.

.. |image1| image:: /_static/images/en-us_image_0000001193610755.png
.. |image2| image:: /_static/images/en-us_image_0000001143053853.png
.. |image3| image:: /_static/images/en-us_image_0000001096133910.png
.. |image4| image:: /_static/images/en-us_image_0000001096133912.png
