Mongo 连接失败
Mongo connect failing
我 运行 mongodb 在我的本地 mac 上 运行 与 MAMP 结合使用很好。但是它不起作用,当我在终端中调用它时,我现在得到这个:
$ mongo
MongoDB shell version: 3.2.11
connecting to: test
2017-02-23T18:43:39.841+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2017-02-23T18:43:39.842+0000 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
有什么想法吗?
谢谢!
mongo关闭,可以运行mongod
查看初始化失败的地方
我 运行 mongodb 在我的本地 mac 上 运行 与 MAMP 结合使用很好。但是它不起作用,当我在终端中调用它时,我现在得到这个:
$ mongo
MongoDB shell version: 3.2.11
connecting to: test
2017-02-23T18:43:39.841+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, reason: errno:61 Connection refused
2017-02-23T18:43:39.842+0000 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
有什么想法吗?
谢谢!
mongo关闭,可以运行mongod
查看初始化失败的地方