Trouble connecting to db.prisma.io via pgbouncer
I debuged for 6+ hours on my own and could not connect to my prisma postgres instance via pgbouncer.
I was able to do so with an RDS instance and a local postgres SQL instance.
Please help me debug it
I can successfully connect to the db.prisma.io instance from the pgbouncer VPS with this command
This is my
And I have the password on
I generated a server.crt from cloudflare
Am trying to connect to the pgbouncer instance from my machine with command
But I always get a connection timeout error
I was able to do so with an RDS instance and a local postgres SQL instance.
Please help me debug it
I can successfully connect to the db.prisma.io instance from the pgbouncer VPS with this command
psql -h db.prisma.io -p 5432 -U username -d postgresThis is my
/etc/pgbouncer/pgbouncer.ini file:And I have the password on
userlist.txt file as plaintext ("username" "password"I generated a server.crt from cloudflare
Am trying to connect to the pgbouncer instance from my machine with command
postgresql://username@ec2-instance-ip:6432/postgres?sslmode=requireBut I always get a connection timeout error