问题描述:

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.

相关阅读:
Top