Connecting to RDS Postgres from remote machine

前端 未结 6 1303
长发绾君心
长发绾君心 2020-12-25 14:16

I have configured an RDS Postgres micro instance for testing but am having problem connecting. I have created a security group and allow all hosts (0.0.0.0/0) by default to

6条回答
  •  别那么骄傲
    2020-12-25 14:45

    I had this problem. This isn't a direct solution but might work for some. I set the Postgres security group to accept connections coming from the server that will be using it (same VPC). I then set up my Postgres client to use ssh tunneling. If I need to use the command line, I simply SSH into that server and then psql from there.

提交回复
热议问题