设置Mongodb*访问

方式一. 启动时添加设置


--bind_ip 0.0.0.0

方式二. 在配置文件内设置


net:
    bindIp: 0.0.0.0
    port: 27017
原文地址:https://www.cnblogs.com/Mr-Kahn/p/12001710.html