我使用AWS并希望连接postgresql,但我遇到了问题Is the server running on host "xx.xxx.x.x" and accepting在服务器stay ubuntu 18.04上,我使用以下命令安装了postgres:
sudo sh -c 'echo "local
我通过ssh进入我的实例,运行命令: echo '\dS' |psql -h rds-endpoint-xxx.amazonaws.com 5432 我得到的结果是: psql: error: couldnot connect to server: Operation timed out
Is the server running on host "rds-endpoint-xxx.amazonaws.com我的ec2实例IP是192.168.0.138,在我的rds数据库的安全组中,我允许来自192.