当前位置: 动力学知识库 > 问答 > 编程问答 >

How to connect to a remote meteor mongodb using robomongo

问题描述:

I am using Meteor. Which is installed on another server.

I want to access its mongodb from another [Ubuntu Machine].

Now how can I access that mongodb via robomongo or any other tool?

Any guidance or help would be appreciated.

网友答案:

In Robomongo in the upper left:

  1. Click create
  2. In the pop-up window enter the address and port of your Mongo server
  3. Give the connection a name and click save.

Using the Terminal (on the client):

mongo --host <hostname> --port <port>

You have to make sure the port is not blocked on the Ubuntu machine running the Meteor application. Note: when developing a Meteor app the default Mongo port is 3001.

分享给朋友:
您可能感兴趣的文章:
随机阅读: