Configure remote connection with MongoDb (debian)

Lastest MongoDb package on debian is bind to, this address doesn’t allow the connection by remote hosts, to change it u must set bind to for eg
[email protected]:/var/www# nano /etc/mongodb.conf

bind_ip =
port = 27017

[email protected]:/var/www/lithium# /etc/init.d/mongodb restart
Done! Remember to secure the connection by password in production mode.



portfolio [eng] .fundation [pl] Aeon Media

This article is by Andrzej Grzegorz Borkowski from