【发布时间】:2021-06-05 12:33:30
【问题描述】:
我尝试通过运行命令“heroku pg:psql”连接到 Heroku 上我的应用程序的 Postgres 数据库,并收到以下错误消息:
psql: could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "URL.com"(IP address) and accepting
TCP/IP connections on port 5432?
我也尝试使用Pgadmin 连接并收到错误:
Server doesn't listen. Is the server running on host "URL.com" (IP address) and accepting
TCP/IP connections on port 5432?
谁能告诉我如何修复这些错误并正确连接到我的数据库。 提前致谢!
【问题讨论】:
-
你解决了吗?
标签: heroku