MongoDB连接错误

时间:2012-01-23 23:23:34

标签: mongodb vagrant

  

可能重复:
  MongoDB on Vagrant via Port Forwarding issue

当我尝试连接到我的流浪服务器时,我收到以下错误:

connecting to: localhost:4567/test
Mon Jan 23 17:17:34 DBClientCursor::init call() failed
Mon Jan 23 17:17:34 Error: Error during mongo startup. :: caused by :: DBClientBase::findN:     transport error: localhost:4567 query: { whatsmyuri: 1 } shell/mongo.js:86
exception: connect failed

我为Vagrant端口转发27017到4567。

我是mongo的新手,现在已经打了4天了。

有什么想法吗?

0 个答案:

没有答案