about summary refs log tree commit diff
path: root/streaming/index.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-15 05:56:35 +0200
committerGitHub <noreply@github.com>2019-07-15 05:56:35 +0200
commite7353c47dbc200536dedb7beea37d60c6ea6fa2f (patch)
tree6b6024ded62ff30d27c3333131804c180c4a02a0 /streaming/index.js
parent2f813b7ea10e0323f76d30bf2d6d1aaa87674bce (diff)
Change default interface of web and streaming from 0.0.0.0 to 127.0.0.1 (#11302)
Diffstat (limited to 'streaming/index.js')
-rw-r--r--streaming/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming/index.js b/streaming/index.js
index 639867b28..0529804b1 100644
--- a/streaming/index.js
+++ b/streaming/index.js
@@ -672,7 +672,7 @@ const attachServerWithConfig = (server, onSuccess) => {
       }
     });
   } else {
-    server.listen(+process.env.PORT || 4000, process.env.BIND || '0.0.0.0', () => {
+    server.listen(+process.env.PORT || 4000, process.env.BIND || '127.0.0.1', () => {
       if (onSuccess) {
         onSuccess(`${server.address().address}:${server.address().port}`);
       }