【发布时间】:2013-05-02 09:07:25
【问题描述】:
我有一个通过 heroku 创建的 postgres 数据库。我正在尝试使用以下命令通过 psql 访问它:
cse-190-fortune matanvardi$ psql "dbname=dccemfsa6camml host=ec2-54-235-152-226.compute-1.amazonaws.com \
user=tfmfbqxqjznsbl password=********* port=5432 sslmode=require"
我得到这个错误:
psql: could not connect to server: Operation timed out
Is the server running on host "ec2-54-235-152-226.compute-1.amazonaws.com" and accepting
TCP/IP connections on port 5432?
我已经克隆了存储库并已登录,但我根本无法弄清楚这里出了什么问题。任何帮助将不胜感激。
【问题讨论】:
-
是否有任何出站过滤防火墙?
标签: database postgresql heroku