Assistance Required: Remote MongoDB Access Configuration Issue

Subject: Assistance Required: Remote MongoDB Access Configuration Issue

Hello Team,

I am currently working on a server setup with Node.js and MongoDB (version 3.6). We need to enable remote access to the MongoDB server from another server. To achieve this, we modified the bindIp configuration in the MongoDB configuration file, using various formats (e.g., ,, :, [], " "). After making these changes and restarting the MongoDB service, we encountered two issues:

  1. The MongoDB service failed to start.
  2. The remote server (running MongoDB version 8.0.4) was unable to establish a connection to the database.

Has anyone faced a similar issue? If so, please share your insights or provide guidance on resolving this.

Thank you for your assistance!

Hi @Vaibhav_Singh7, welcome to the MongoDB Community.

  1. Can you share the error on the server log?
  2. Can you share the configuration file?

For accept many IP’s try to use net.bindIpAll: true or net.bindIp: 0.0.0.0

For legacy docs: https://www.mongodb.com/pt-br/docs/legacy/?site=docs

Hello @Samuel_84194, in the configuration file under net bind ip as of now is = localhost but we add custom or particular IP the service goes down also we have checked through various format that mentioned above ( e.g., ,;, ) also give all traffic IP but its not works when we try to access.