Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mongo.js:91

10:26 AM 0 Comments

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

Bijendra Singh

Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard.

0 comments: