Answers for "failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: connection refused 2022-04-22t10:17:53.891+0200 e query [thread1] error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :"

0

failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: connection refused

rm /usr/local/var/mongodb/mongod.lock  
sudo service mongod restart
Posted by: Guest on May-20-2021

Code answers related to "failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: connection refused 2022-04-22t10:17:53.891+0200 e query [thread1] error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :"

Browse Popular Code Answers by Language