diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-04-25 09:27:55 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-04-25 09:27:55 -0400 |
commit | edb24708c5d6d663e9de4632137306552c55b5a1 (patch) | |
tree | 18ce6d29a78f8fa801d2f17ac91537c353a205d8 /src/mongo/db/startup_warnings_common.cpp | |
parent | 7ca032d3e36ec136e730dd46b81e796829b46e91 (diff) | |
download | mongo-edb24708c5d6d663e9de4632137306552c55b5a1.tar.gz |
Revert "SERVER-28229: Bind to localhost by default"
This reverts commit d6b244fce44e6729485b1521346db6e372f6b901.
Diffstat (limited to 'src/mongo/db/startup_warnings_common.cpp')
-rw-r--r-- | src/mongo/db/startup_warnings_common.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mongo/db/startup_warnings_common.cpp b/src/mongo/db/startup_warnings_common.cpp index 0480dc41494..9c444410b51 100644 --- a/src/mongo/db/startup_warnings_common.cpp +++ b/src/mongo/db/startup_warnings_common.cpp @@ -125,21 +125,6 @@ void logCommonStartupWarnings(const ServerGlobalParams& serverParams) { } #endif - if (serverParams.bind_ip.empty()) { - log() << startupWarningsLog; - log() << "** ATTENTION: The server is bound to localhost." << startupWarningsLog; - log() << "** Remote systems will be unable to connect to this server. " - << startupWarningsLog; - log() << "** Start the server with --bind_ip <address> to specify which IP " - "addresses it" - << startupWarningsLog; - log() << "** should serve responses from, or with --bind_ip_all to bind to all " - "interfaces." - << startupWarningsLog; - warned = true; - } - - if (warned) { log() << startupWarningsLog; } |