Errr 'mongo.js:L112 Error: couldn't connect to server 127.0.0.1:27017 at src/mongo/shell/mongo.js:L112'

后端 未结 8 1209
别那么骄傲
别那么骄傲 2021-01-30 01:25

I can\'t connect to MongoDB. In Ubuntu it works, but I\'m working in CentOS now. This is the error message:

MongoDB shell version: 2.4.2
connecting

8条回答
  •  时光取名叫无心
    2021-01-30 01:41

    I faced the same problem. Running mongod inside bin (where you have your mongodb installed) worked for me. I also had insufficient space.

提交回复
热议问题