From f8699f77f90ff9b24d23729644ee7cd7ed0e9600 Mon Sep 17 00:00:00 2001 From: Ernie Hershey Date: Fri, 29 Mar 2013 14:18:17 -0400 Subject: SERVER-792 Bind to localhost by default in RPM and debs only Add bind_ip = 127.0.0.1 to config file installed by rpm and deb packages. --- rpm/mongod.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rpm') diff --git a/rpm/mongod.conf b/rpm/mongod.conf index 060b08dff85..4bc97f1d5c6 100644 --- a/rpm/mongod.conf +++ b/rpm/mongod.conf @@ -15,6 +15,9 @@ dbpath=/var/lib/mongo # location of pidfile pidfilepath = /var/run/mongodb/mongod.pid +# Listen to local interface only. Comment out to listen on all interfaces. +bind_ip = 127.0.0.1 + # Disables write-ahead journaling # nojournal = true -- cgit v1.2.1