Skip to content

Commit f97d04c

Browse files
committed
docs(dwh): update deployment port MTA-6350 (#5363)
* docs(dwh): update deployment port MTA-6350 * docs(dwh): update
1 parent 88ba301 commit f97d04c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pages/data-warehouse/how-to/connect-applications.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
6262
</TabsTab>
6363
<TabsTab label="HTTPS">
6464
```sh
65-
echo 'SELECT 1' | curl 'https://scwadmin:<PASSWORD>@<YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud:443' -d @-
65+
echo 'SELECT 1' | curl 'https://scwadmin:<PASSWORD>@<YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud:8443' -d @-
6666
```
6767
<Message type="note">
6868
`curl` only works with SQL queries, and does not allow direct connection to your Data Warehouse for ClickHouse® deployment.
@@ -83,7 +83,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
8383

8484
client = clickhouse_connect.get_client(
8585
host="<YOUR_DEPLOYMENT_ID>.dtwh.<REGION>.scw.cloud",
86-
port=443,
86+
port=8443,
8787
username="scwadmin",
8888
password="<PASSWORD>",
8989
)
@@ -141,7 +141,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
141141

142142
void (async () => {
143143
const client = createClient({
144-
url: 'https://f133556f-8578-486f-be7f-49f7da08b728.dtwh.fr-par.scw.cloud:443',
144+
url: 'https://f133556f-8578-486f-be7f-49f7da08b728.dtwh.fr-par.scw.cloud:8443',
145145
username: 'scwadmin',
146146
password: 'PASSWORD'
147147
})
@@ -185,7 +185,7 @@ To connect your deployment with BI tools, refer to the [dedicated documentation]
185185
public class Main {
186186
public static void main(String[] args) throws SQLException, ClassNotFoundException {
187187
Class.forName("com.clickhouse.jdbc.ClickHouseDriver");
188-
String url = "jdbc:ch://scwadmin:PASSWORD@f133556f-8578-486f-be7f-49f7da08b728.dtwh.fr-par.scw.cloud:443/default?ssl=true";
188+
String url = "jdbc:ch://scwadmin:PASSWORD@f133556f-8578-486f-be7f-49f7da08b728.dtwh.fr-par.scw.cloud:8443/default?ssl=true";
189189
try (Connection con = DriverManager.getConnection(url); Statement stmt = con.createStatement()) {
190190
ResultSet result_set = stmt.executeQuery("SELECT 1 AS one");
191191
while (result_set.next()) {

0 commit comments

Comments
 (0)