Change ip mongodb bind from 127.0.0.1 to 0.0.0.0

Somebody help me change ip mongodb insite meteor bind from 127.0.0.1 to 0.0.0.0. Thank you!

Why would you want to expose a dev-only database without security?

1 Like

I want to share DB with other machines in LAN.

Can’t you use the MONGO_URL environment variable and set your local IP on your other machines ? (I do not know if it would work)

2 Likes

Then install and configure MongoDB separately, and use the MONGO_URL environment variable to allow your meteor code to access it.

Check the Meteor Guide on Custom Deployment.

1 Like