Database Linkage
Modify The Connection Address
1) Log in to the MongoDB console.
2) According to the instance type, in the left navigation bar, click Replica Set Instance List.
3) On the replica set instance list page, click the target instance ID or click More in the Action column of the row where the target instance is located, and select Manage.
4) In the left navigation bar, click Database Connection.
5) On the right side of the private network connection or public network connection area, click Modify connection address.
6) In the pop-up dialog box, set the new connection address.
7) Click OK.
By Mongo Shell Connects To Mongodb Instance
1) Log in to the MongoDB console.
2) According to the instance type, in the left navigation bar, click Replica Set Instance List.
3) On the replica set instance list page, click the target instance ID or click More in the Action column of the row where the target instance is located, and select Manage.
4) In the left navigation bar, click Database Connection to get the connection address.
5) Connect the database in the local server or ECS with Mongo Shell installed.
Applying for a public IP address for a replica set instance
1) Log in to the MongoDB console.
2) On the replica set instance list page, click the ID of the target instance or click More in the Action column of the row where the target instance is located, and select Manage.
3) In the left navigation bar, click Database Connection.
4) Click Apply for a public network address on the right side of the public network connection area.
5) In the pop-up dialog box for applying for a public network address, click OK.
Replica set instance releases public network connection address
1) Log in to the MongoDB console.
2) On the replica set instance list page, click the ID of the target instance or click More in the Action column of the row where the target instance is located, and select Manage.
3) In the left navigation bar, click Database Connection.
4) On the right side of the public network connection area, click Release public network address.
5) In the pop-up dialog box, click OK.