Obtaining the Cluster Connection Address

Scenario

You can access GaussDB(DWS) clusters by different methods and the connection address of each connection method varies. This section describes how to view and obtain the private network address on the cloud platform, public network address on the Internet, and JDBC connection strings.

To obtain the cluster connection address, use either of the following methods:

Obtaining the cluster connection address on the Client Connections Page

  1. Log in to the GaussDB(DWS) management console.

  2. In the navigation tree on the left, choose Client Connections.

  3. In the Data Warehouse Connection Information area, select an available cluster.

    You can only select clusters in the Available state.

  4. View and obtain the cluster connection information.

    • Private Network IP Address

    • Public Network IP Address

    • ELB Address

    • JDBC URL (Private Network)

    • JDBC URL (Public Network)

    • ODBC URL

    Note

    • If no EIP is automatically assigned during cluster creation, Public Network Address is empty. If you want to use a public network address (consisting of an EIP and the database port) to access the cluster from the Internet, click Bind EIP to bind one.

    • If an EIP is bound during cluster creation but you do not want to use the public network address to access the cluster, click Unbind EIP to unbind the EIP. After the EIP is unbound, Public Network Address is empty.

Obtaining the Cluster Access Addresses on the Cluster Information Page

  1. Log in to the GaussDB(DWS) management console.

  2. In the navigation pane on the left, choose Clusters > Dedicated Clusters.

  3. In the cluster list, click the name of the target cluster. The Cluster Information page is displayed.

  4. In the Connection area, view and obtain the cluster's access address information, including the private network address and public network address.