【问题标题】:heroku migration, getting could not connect to server: Connection refusedheroku 迁移,无法连接到服务器:连接被拒绝
【发布时间】:2012-12-19 09:55:36
【问题描述】:

我已经运行了以下命令:

git remote add mdd2 git@heroku.com:dmstaffing.git
git push mdd2 master

但是当我现在尝试运行时

heroku run rake db:migrate --app mdd2

我明白了

rake aborted!
could not connect to server: Connection refused
        Is the server running on host "ec2-184-73-250-226.compute-1.amazonaws.com" and accepting
        TCP/IP connections on port 5632?

Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)

我也看到了:

g$ heroku open --app mdd2
Opening mdd2... done
durrantm.../mdd$ libprotobuf ERROR third_party/protobuf/src/google/protobuf/message_lite.cc:123] Can't parse message of type "in_memory_url_index.InMemoryURLIndexCacheItem" because it is missing required fields: (cannot determine missing fields for lite message)
^C
durrantm.../mdd$ 

无法连接到服务器:连接被拒绝 服务器是否在主机“ec2-184-73-250-226.compute-1.amazonaws.com”上运行并接受 端口 5632 上的 TCP/IP 连接?

【问题讨论】:

    标签: ruby-on-rails ruby heroku


    【解决方案1】:

    你有数据库插件吗? https://addons.heroku.com/

    【讨论】:

      猜你喜欢
      • 2013-04-14
      • 2020-11-21
      • 2020-12-09
      • 1970-01-01
      • 1970-01-01
      • 2018-09-24
      • 2013-11-18
      • 2019-02-20
      • 2013-05-19
      相关资源
      最近更新 更多