mongodb开启远程登陆

mongodb的配置文件在 /etc/mongod.conf
修改
bindIp: 127.0.0.1

bindIp: 0.0.0.0

你可能感兴趣的:(mongodb开启远程登陆)