远程 MongoLab MongoDB 登录失败错误

Remote MongoLab MongoDB login failed error

我正在尝试使用 mongo shell 连接到 mongoLab mongoDB。这是我得到的错误:

C:\Program Files\MongoDB 2.6 Standard\bin>mongo ds053332.mongolab.com:53332/stormaxdb -u abhishek -p password
MongoDB shell version: 2.6.4
connecting to: ds053332.mongolab.com:53332/stormaxdb
2015-03-18T16:44:27.740+0530 Socket recv() errno:10053 An established connection was aborted by the software in your host machine.     54.224.106.116:53332
2015-03-18T16:44:27.742+0530 SocketException: remote: 54.224.106.116:53332error: 9001 socket exception [RECV_ERROR] server     [54.224.106.116:53332]
2015-03-18T16:44:27.746+0530 DBClientCursor::init call() failed
2015-03-18T16:44:27.748+0530 Error: 10276 DBClientBase::findN: transport error: ds053332.mongolab.com:53390 ns: stormaxdb.$cmd query: { getnonce: 1 } at src/mongo/sh
ell/db.js:1210
exception: login failed

我搜索了很多来修复这个错误,但没有找到具体的解决方案。谁能指导如何解决它,为什么会出现?

我遇到了类似的问题。看来我的防火墙阻止了与 mongo 服务器的连接。尝试从防火墙设置中取消阻止 mongo,它应该可以工作。