[英]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]. 我想从另一台[Ubuntu机器]访问其mongodb。
Now how can I access that mongodb via robomongo or any other tool? 现在如何通过robomongo或任何其他工具访问该mongodb?
Any guidance or help would be appreciated. 任何指导或帮助,将不胜感激。
In Robomongo in the upper left: 在左上方的Robomongo中:
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. 您必须确保在运行Meteor应用程序的Ubuntu计算机上未阻塞该端口。 Note: when developing a Meteor app the default Mongo port is 3001
. 注意:开发Meteor应用程序时,默认的Mongo端口为3001
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.