When I write on the command line mongo return me this error:
MongoDB shell version v3.4.10
connecting to: mongodb://127.0.0.1:27017
2018-05-01T11:42:17.843+0200 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2018-05-01T11:42:17.843+0200 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed
I need to access my database collections.
I do not think it's an installation error because it used to work.
Beforehand, thank you very much!