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
root@debian:/var/www# nano /etc/mongodb.conf

bind_ip =
port = 27017

root@debian:/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