LinkedIn Amazon Web Services (AWS) Skill Assessment Quiz Answers

You created a new Linux EC2 instance and installed PostgreSQL but you are not able to establish a connection to the server from your local computer. What steps do you take to resolve this issue?

Latest Update on 10th July, 2022 by Certification Course Answers

You created a new Linux EC2 instance and installed PostgreSQL but you are not able to establish a connection to the server from your local computer. What steps do you take to resolve this issue?

  1.  Create a security group rule that allows all traffic from 0.0.0.0/0. This will verify whether or not another rule is denying the traffic.
  2.  Verify that the assigned security groups allow traffic from your IP address to port 5432. Verify that PostgreSQL is configured to listen to external traffic and is bound to the public interface.
  3.  Make sure that you are using an Elastic IP and that it is included within the postgresql.conf configuration file.
  4.  Stop and start the instance. New security group rules will only take effect after a restart.

Correct Answer:

  •  Verify that the assigned security groups allow traffic from your IP address to port 5432. Verify that PostgreSQL is configured to listen to external traffic and is bound to the public interface.

Latest Updates

No posts found in this category.