diff options
author | Ernie Hershey <ernie.hershey@10gen.com> | 2013-03-29 14:18:17 -0400 |
---|---|---|
committer | Ernie Hershey <ernie.hershey@10gen.com> | 2013-03-29 15:56:43 -0400 |
commit | f8699f77f90ff9b24d23729644ee7cd7ed0e9600 (patch) | |
tree | dbf4982de9e74c59afeea3e24c3cb524aeb72caf /rpm/mongod.conf | |
parent | 26867fd66d6174beca2155ae2fb2c63d7a658ed7 (diff) | |
download | mongo-f8699f77f90ff9b24d23729644ee7cd7ed0e9600.tar.gz |
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.
Diffstat (limited to 'rpm/mongod.conf')
-rw-r--r-- | rpm/mongod.conf | 3 |
1 files changed, 3 insertions, 0 deletions
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 |