DEV Community

surya
surya

Posted on

Node.js, PostgreSQL error: no pg_hba.conf entry for host

When I try to connect AWS rds Postgres host DB with Node.js. But, i receive following error when I try to connect using DBI with pg npm.

Image description

But Successfully connected in CLI and pgAdmin 4.

😥 How to fix this ?

Top comments (0)