Error in mongodb connection refused?

0

Good friends stackoverflow friends, I have an error when trying to run mongo db by means of the command "mongo" my operating system is manjaroos and here is the error that happens to me when executing it

MongoDB shell version v3.4.9
connecting to: mongodb://127.0.0.1:27017
2017-10-25T16:35:29.753-0400 W NETWORK  [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused
2017-10-25T16:35:29.753-0400 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

Note that you already enter mongod --repair does not recognize me mongo --repair, and I can not find / var / log / mongo / the file that is always deleted so that it works, I do not remember if it is extension lck.

Thank you very much.

    
asked by Tysaic 25.10.2017 в 22:39
source

0 answers