Mongo - errno:111 Connection refused

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

Comments

Popular posts from this blog

Hibernate - HibernateException: createQuery is not valid without active transaction