Change ip mongodb bind from 127.0.0.1 to 0.0.0.0


#1

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


#2

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


#3

I want to share DB with other machines in LAN.


#4

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)


#5

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.