문제

I just upgraded from MongoDB 3.2 to 3.4.1.

/etc/mongod.conf had a multiple BindIP:

bindIp: [127.0.0.1,192.168.20.1]

This is not working anymore. I get this error :

Scalar option 'net.bindIp' must be a single value

According to the documentation, It must be correct : https://docs.mongodb.com/manual/reference/configuration-options/#net.bindIP

Any idea ?

도움이 되었습니까?

해결책

Remove []. so solution is: bindIp: 127.0.0.1,192.168.20.1 and remember, no space characters anywhere in that string.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top