1 year ago

#68770

test-img

mrateb

rails db:migrate Failed to open TCP connection connection refused

I'm getting connection refused whenever I try to migrate on rails. Running rails db:migrate gives:

Failed to open TCP connection to 127.0.0.1:8126 (Connection refused - connect(2) for "127.0.0.1" port 8126)

I tried checking if something is already taking up this port using:

netstat -vanp tcp | grep 8126

but there is nothing.

For extra measure, I made sure that docker is not running. Nothing seems to fix the issue though. Not sure what other info to include or what other thing can I try.

Any hints would be greatly appreciated

ruby-on-rails

tcp

migration

0 Answers

Your Answer

Accepted video resources