Clicky

Mongo - errno:111 Connection refused

April 4, 2016

Problem:

Mongodb: Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refuse

Solution:

$ sudo rm /var/lib/mongodb/mongod.lock
$ mongod –repair
$ sudo service mongodb start