How to set mongod.conf bind_ip with multiple ip address

前端 未结 16 621
情书的邮戳
情书的邮戳 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:27

    You can do that by:

    bindIp: [172.31.60.184,127.0.0.1]
    

    Remember to not put a space after the comma.

提交回复
热议问题