在办公室代理后面连接heroku psql或一个关闭的dyno

时间:2019-04-09 05:55:38

标签: heroku proxy http-proxy heroku-postgres heroku-cli

我在办公室的代理后面使用了heroku。当我尝试使用以下Heroku CLI连接字符串与postgres连接时:

heroku pg:psql <connection string> --app <app name>

我收到此错误

psql: could not connect to server: Connection timed out
    Is the server running on host "<host name>" (<IP>) and accepting
    TCP/IP connections on port 5432?

另外,当我尝试使用Heroku CLI从终端运行单次dyno时,出现错误ETIMEDOUT: connect ETIMEDOUT

0 个答案:

没有答案