Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 476
Zh Kostev Avatar asked Jan 13 '16 13:01

Zh Kostev


2 Answers

Try running

heroku run:detached your command here

and it will fly, if the issue was the firewall.

like image 175
qknowswhat Avatar answered Oct 29 '22 12:10

qknowswhat


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.

like image 21
Coder-256 Avatar answered Oct 29 '22 10:10

Coder-256