I am trying to test the sample application given in the docs in my local
I am using the node js application
The below is my config file
const config = {
host: 'us-central1.9aee433e-0a44-44a1-82c2-b68bec633f16.gcp.ybdb.io',
port: '5433',
database: 'yugabyte',
user: 'admin',
password: 'qpINGl19T4bXunoMtCVxvvrDFyJ5a_',
// Uncomment and initialize the SSL settings for YugabyteDB Managed and other secured types of deployment
ssl: {
rejectUnauthorized: true,
ca: fs.readFileSync('C:/yugabyte/root.crt').toString()
},
connectionTimeoutMillis: 90000
};
**But I am getting connection time out every time
**
>>>> Connecting to YugabyteDB!
Error: connect ETIMEDOUT 34.171.17.184:5433
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16) {
errno: -4039,
code: 'ETIMEDOUT',
syscall: 'connect',
address: '34.171.17.184',
port: 5433
}
Can Anybody please tell me what I am doing wrong