【问题标题】:heroku run fails - error connecting to dynoheroku 运行失败 - 连接到测功机时出错
【发布时间】:2015-07-05 16:43:22
【问题描述】:

运行简单 bash 时

heroku 运行 bash

抛出以下错误:

运行 bash 连接到终端...启动,运行.3239
!
!连接测功机时出错,请参阅https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process

以上链接建议使用 telnet 在端口 5000 上测试与 rendezvous.runtime.heroku.com 的连接

telnet rendezvous.runtime.heroku.com 5000

成功的连接如下所示:

正在尝试 50.19.103.36...

已连接到 ec2-50-19-103-36.compute-1.amazonaws.com。

转义字符是'^]'。

运行 telnet 后,我​​得到与上面类似的输出。

似乎是什么问题?

【问题讨论】:

    标签: heroku


    【解决方案1】:

    好的。问题出在我连接的公司网络中。出于安全原因,一些公司倾向于阻止某些端口(in this case port 5000)。连接到我的热点后,我尝试运行相同的代码,它就像一个魅力。

    【讨论】:

      猜你喜欢
      • 2015-05-24
      • 2021-06-07
      • 2011-11-23
      • 2020-08-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-09-29
      相关资源
      最近更新 更多