与mongo db的连接失败

时间:2016-09-11 23:12:58

标签: node.js mongodb

无法连接到mongo。非常新的需要帮助。

这就是我得到的:

MongoDB shell version: 3.2.9
connecting to: test
2016-09-12T00:09:34.516+0100 W NETWORK  [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:10061 No connection could be made because the target machine actively refused it.
2016-09-12T00:09:34.517+0100 E QUERY    [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:229:14
@(connect):1:6

exception: connect failed

0 个答案:

没有答案