diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-04-25 15:02:13 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2017-04-28 19:26:16 -0400 |
commit | 60636b4d3ae60a24c080c7250459814eef5e7c87 (patch) | |
tree | 046999f85ed571550d88285e484286c5927d26b6 /src/mongo/tools | |
parent | b1054a04df0182fa6e4ccef53eefff90616aeea3 (diff) | |
download | mongo-60636b4d3ae60a24c080c7250459814eef5e7c87.tar.gz |
SERVER-28229: Bind to localhost by default
Diffstat (limited to 'src/mongo/tools')
-rw-r--r-- | src/mongo/tools/bridge.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/tools/bridge.cpp b/src/mongo/tools/bridge.cpp index b515ad7ca87..6cae2ee2cf0 100644 --- a/src/mongo/tools/bridge.cpp +++ b/src/mongo/tools/bridge.cpp @@ -341,7 +341,8 @@ private: class BridgeListener final : public Listener { public: BridgeListener() - : Listener("bridge", "", mongoBridgeGlobalParams.port, getGlobalServiceContext(), false), + : Listener( + "bridge", "0.0.0.0", mongoBridgeGlobalParams.port, getGlobalServiceContext(), false), _seedSource(mongoBridgeGlobalParams.seed) { log() << "Setting random seed: " << mongoBridgeGlobalParams.seed; } |