How to set mongod.conf bind_ip with multiple ip address

前端 未结 16 620
情书的邮戳
情书的邮戳 2020-12-09 01:22

I am a newbie for setting up the server environment and mongoDB. This may sounds something really simple, however, I really need your help on it.

I am trying to conn

16条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-09 02:13

    Wrap the comma-separated-Ips with brackets works in mongo 3.2.7 for me:

    bindIp = [127.0.0.1, 192.168.184.155, 96.88.169.145]
    

提交回复
热议问题