Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91
exception: connect failed
check the /etc/mongodb.conf
look for dbpath
no go to that folder, by default it is /var/lib/mongodb . Remove the .lock file and then start mongodb
exception: connect failed
check the /etc/mongodb.conf
look for dbpath
no go to that folder, by default it is /var/lib/mongodb . Remove the .lock file and then start mongodb
Comments
Post a Comment