如何使用多个IP地址设置mongod.conf bind_ip

/ 0评 / 0

由于多个生产环境需要mongodb多个授权管理
根据MongoDB文档:https://docs.mongodb.com/manual/reference/configuration-options/#net.bindIP
给出的解决方案

net:
  port: 27017
  bindIp: localhost,blog.e9china.net

发表评论

邮箱地址不会被公开。 必填项已用*标注