mac 下 mongodb连接失败

Leezy__ 发布于 2016/02/15 20:38
阅读 1K+
收藏 0

MongoDB shell version: 3.0.7

connecting to: test

2016-02-15T20:36:49.665+0800 W NETWORK  Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused

2016-02-15T20:36:49.667+0800 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


请问如何解决??

加载中
返回顶部
顶部