Help Center/
GaussDB/
User Guide/
Instance Modifications/
Changing the Database Port of a GaussDB Instance
Updated on 2024-11-11 GMT+08:00
Changing the Database Port of a GaussDB Instance
Scenarios
You can change the database port of your GaussDB instance.
Precautions
- The database port can be changed only for instances of version V2.0-2.0 or later.
- Changing the port of an instance will reboot all nodes of the instance, during which services will be intermittently interrupted.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page and choose .
- On the Instances page, click the name of the target instance.
- In the Network Information area on the Basic Information page, click in the Database Port field.
Figure 1 Changing the database port
- To submit the change, click .
- In the displayed dialog box, click Yes to submit the change.
- In the displayed dialog box, click No to cancel the change.
- To cancel the change, click .
- The GaussDB port ranges from 1024 to 39989, but the following ports that are reserved for system use cannot be used: 2378 to 2380, 2400, 4999 to 5001, 5100, 5500, 5999 to 6001, 6009 to 6010, 6500, 8015, 8097, 8098, 8181, 9090, 9100, 9180, 9187, 9200, 12016, 12017, 20049, 20050, 21731, 21732, 32122 to 32126, and 39001.
- The port cannot be a number in the range [Database port, Database port + 10].
- To submit the change, click .
- View the result of the change on the Basic Information page.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot