更新时间:2023-11-18 17:26:46
这适用于在安装Meteor时即用的Mongo安装:
This applies to an out-of-the-box install of Mongo when Meteor is installed:
mongo守护程序mongod
绑定到127.0.0.1
,因此如果客户端支持,则需要通过SSH隧道连接到它. MongoVUE和Mongo Chef都允许这种类型的连接. SSH进入虚拟机后,您可以毫无问题地连接到127.0.0.1:3001
.它不需要密码或用户名,只需将数据库设置为meteor
.
The mongo daemon mongod
binds to 127.0.0.1
so you need to connect to it via a SSH tunnel if your client supports it. MongoVUE and Mongo Chef both allow this type of connection. Once you SSH into the VM, you can connect to 127.0.0.1:3001
without any trouble. It does not require a password or username, just the database to be set as meteor
.