I created a basic test PostgreSQL RDS instance in a VPC. It is public and VPC security group. The security group whose configuration is as follows:
When I try to connect, it fails. Here's the error code that I get:
could not connect to server: Connection timed out
Is the server running on host () and accepting
TCP/IP connections on port 5432?
I m doing this for the first time so please help me out. Any help will be appreciated.