Unable to connect to Amazon RDS database with Inbound rule to allow all connection and publicly accessible turned on
I created a postgresql RDS database instance and connected to an EC2 instance. I am able to ssh into the EC2 instance and access the database from there, but I am unable to connect to the database using psql
or using prisma to connect to the db.