在云服务器ECS上安装了postgresql9.6数据库并启动后,用数据库连接工具DBVisualizer连接不上,报错信息如下,请问我该怎么才能连接上我的数据库呢?
An error occurred while establishing the connection:
Long Message:
尝试连线已失败。
Details:
Type: org.postgresql.util.PSQLException
SQL State: 08001
加了安全组后,
refused
An error occurred while establishing the connection:
Long Message:
Connection to x.x.x.211:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
Details:
Type: org.postgresql.util.PSQLException
SQL State: 08001