无法连接到托管在Heroku上的PG数据库。

4
尝试连接PG数据库时,我遇到了以下错误:

$ heroku pg:psql --app rf1
psql: could not connect to server: Operation timed out Is the server running on host "ec2-184-73-161-119.compute-1.amazonaws.com" and accepting TCP/IP connections on port 5432?

请问我该如何解决它呢? 附注:我正在使用OS X环境,并且已安装本地pg。 更新:
heroku pg:info --app rf1
=== SHARED_DATABASE (DATABASE_URL)
Data Size: 312k
1个回答

4

谢谢。我切换到了开发计划,它按预期工作了! - pierrotlefou

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接