0

重複の可能性:
ポート フォワーディングの問題による Vagrant 上の MongoDB

vagrant サーバーに接続しようとすると、次のエラーが表示されます。

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日間頭を悩ませています。

何かご意見は?

4

0 に答える 0