Unable to connect to postgres in cloud sql from google app engine nodes
问题 I am working on a nodejs and postgres application. Both are deployed in google. I have my postgres in google cloud sql and nodejs is deployed in google app engine. I am trying to connect to postgres from nodejs, but it throws it cannot connect to cloud postgres. I have updated app.yml file and i am using regular pg client and not knex. Can anyone help me. My config as below const client = new Client({ user: 'postgres', host:'xx.xx.xx.xx', socketpath: '/cloudsql/proj-name:us-central1:app-name'