Category Archives: Nosql

Mongo DB: JavaScript execution failed: Error: couldn’t connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112

if following error appear when try to start mongo in Linux JavaScript execution failed: Error: couldn’t connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112 here is the solution: Open Terminal and type following command First Stop service Then remove the Mongo log file with following then change the permission of the Mongo Library and give full control […]