Getting error while trying to push to Heroku

前端 未结 3 1741
心在旅途
心在旅途 2020-12-20 07:16

When I type in \"git push heroku master\" I get an error that says:

ssh: Could not resolve hostname heroku.com: nodename nor servname provided, or not known

3条回答
  •  渐次进展
    2020-12-20 07:17

    try ssh'ing directly to heroku from your command line

     ssh git@heroku.com -T
    

    if you don't get a response

     !  You can only access Heroku by ssh via git push and pull commands.
    

    then it's connectivety issue or a firewall in the way that's blocking your requests.

提交回复
热议问题