首页 > 技术文章 > 设置Mongodb外网访问
Mr-Kahn 2019-12-07 14:55 原文
方式一. 启动时添加设置
--bind_ip 0.0.0.0
方式二. 在配置文件内设置
net: bindIp: 0.0.0.0 port: 27017