How to set mongod.conf bind_ip with multiple ip address

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

    I successfully added a second ip on my version 3.2 service using a comma, no spaces and an FQDN

    net:
      port: 27017
      bindIp: localhost,dev-2.office.sampleorg.com
    

提交回复
热议问题