summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorErnie Hershey <ernie.hershey@10gen.com>2013-03-29 14:18:17 -0400
committerErnie Hershey <ernie.hershey@10gen.com>2013-03-29 15:56:43 -0400
commitf8699f77f90ff9b24d23729644ee7cd7ed0e9600 (patch)
treedbf4982de9e74c59afeea3e24c3cb524aeb72caf /debian
parent26867fd66d6174beca2155ae2fb2c63d7a658ed7 (diff)
downloadmongo-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 'debian')
-rw-r--r--debian/mongodb.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/mongodb.conf b/debian/mongodb.conf
index 87d5f716c1d..62e78915f02 100644
--- a/debian/mongodb.conf
+++ b/debian/mongodb.conf
@@ -14,6 +14,9 @@ logappend=true
#port = 27017
+# Listen to local interface only. Comment out to listen on all interfaces.
+bind_ip = 127.0.0.1
+
# Disables write-ahead journaling
# nojournal = true