Search code examples
ubuntuherokuheroku-toolbelt

heroku ECONNREFUSED: connect ECONNREFUSED for all run command


I'm receiving ECONNREFUSED for heroku run any_command_here. Heroku login is successful. Other heroku commands are successful as well (apps,releases, sharing). App is running. I can even access heroku logs. Ubuntu version is 14.04.


Solution

  • There may be an external firewall - a firewall between your computer and the internet (inside your network). Chances are that if the server_ip begins with 192.168, then that is the case.