Answer the question
In order to leave comments, you need to log in
How to start mongo shell?
I am using ubuntu 14.10. Installed mongo 3.0.2.
I try to start the shell with the "mongo" command, to which I get the answer:
MongoDB shell version: 3.0.2
connecting to: test
2015-04-20T01:09:39.216+0300 W NETWORK Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused
2015-04-20T01:09:39.219+0300 E QUERY Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
at connect (src/mongo/shell/mongo.js:179:14)
at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question