When I tried to heroku run rake db:migrate
, I was told that connection cannot be made. I'm using postgres locally. I can see my site loaded properly, but I can't access my models. How to fix this?
Rexs-MacBook-Pro:portfolio Rex$ heroku run rake db:migrate
Running rake db:migrate on fathomless-mesa-1536... up, run.4069
▸ ECONNREFUSED: connect ECONNREFUSED 50.19.103.36:5000
I have magically thought of why and it worked. Basically, my school's internet's firewall blocked my connection to heroku. After I have switched to my own mobile date it works like it should be!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With