when I'm trying to open mongodb with command prompt I'm getting a error message like
D:\mongo-bd\bin>mongo.exe MongoDB shell version v3.6.4 connecting to: mongodb://127.0.0.1:27017 2018-04-27T18:50:28.340+0530 W NETWORK [thread1] Failed to connect to 127.0.0.1 :27017 after 5000ms milliseconds, giving up. 2018-04-27T18:50:28.340+0530 E QUERY [thread1] Error: couldn't connect to ser ver 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:251:13 @(connect):1:6 exception: connect failed
I have tried by running mongo --repair command but still I'm facing this problem.