2 / 2
Dec 2024

Have MongoDB with mongod.conf

Have mongod.conf with

net: port: 27017 bindIp: 0.0.0.0 `` It starts up fine. However, when changing to net: port: 27017 bindIp: 185.121.228.66 it won't start and throwing error: Dec 03 20:44:12 vps-4a428561 systemd[1]: mongod.service: Main process exited, code=exited, status=48/n/a Dec 03 20:44:12 vps-4a428561 systemd[1]: mongod.service: Failed with result 'exit-code'. Please explain why is it so. Sincerely, Yuri