I really tried, even reinstall the MongoDB.
And it\'s the same to MongoDB bind_ip error: bind() failed errno:99 Cannot assign requested address for socket
It
Using MongoDB 4.0.5: For me the following worked:
bindIp=[127.0.0.1,11.22.33.44]
And then I switched on Auth:
security:
authorization: "enabled"
Restarting mongod (on Ubuntu 18.04) gave an error:
Scalar option 'net.bindIp' must be a single value
Therefore I had to do the bindIp: 0.0.0.0. Maybe somebody has a clue how to combine bindIp and Security