Mongo基本配置 一、Mongodb默认只允许本地访问,要允许远程访问必须修改配置: vim /etc/mongodb.conf 将 bind_ip=127.0.0.1 改为 bind_ip=0.0.0.0 # 允许远程访问