我试图运行heroku-django教程(使用Ubuntu 12.04),似乎因为某种原因,我不能推入到heroku。这里是发生了什么:git push heroku master给出错误ssh:连接到主机heroku.com端口22:连接拒绝
[email protected]:~/hellodjango$ git init
Reinitialized existing Git repository in /home/yeinhorn/hellodjango/.git/
[email protected]:~/hellodjango$ git add .
[email protected]:~/hellodjango$ git commit -m "my first commit"
# On branch master
nothing to commit (working directory clean)
[email protected]:~/hellodjango$ heroku create
Creating high-dusk-6308... done, stack is cedar
http://high-dusk-6308.herokuapp.com/ | [email protected]:high-dusk-6308.git
! New default stack: Cedar. To use Bamboo, run `heroku create -s bamboo`.
[email protected]:~/hellodjango$ git remote -v
heroku [email protected]:blazing-dusk-8587.git (fetch)
heroku [email protected]:blazing-dusk-8587.git (push)
[email protected]:~/hellodjango$ git push heroku master
ssh: connect to host heroku.com port 22: Connection refused
fatal: The remote end hung up unexpectedly
[email protected]:~/hellodjango$ git push -f heroku
ssh: connect to host heroku.com port 22: Connection refused
fatal: The remote end hung
了意外
还当我运行
$telnet heroku.com 22
我得到
Trying 50.19.85.132...
Trying 50.19.85.154...
Trying 50.19.85.156...
telnet: Unable to connect to remote host: Connection refused
什么想法?
请格式化代码块的复制粘贴端子输出。请参阅:http://stackoverflow.com/editing-help –