From 2864e5e07791577d4aacbe1ea2b8115ac79ce360 Mon Sep 17 00:00:00 2001 From: Baptiste Gelez Date: Sat, 18 Nov 2017 04:44:19 +0100 Subject: [PATCH] Make it possible to bind streming service to 0.0.0.0 (#5744) --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index f0b8ce007e9..c79a58671dd 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -508,7 +508,7 @@ const startWorker = (workerId) => { }); }, 30000); - server.listen(process.env.PORT || 4000, () => { + server.listen(process.env.PORT || 4000, process.env.BIND || '0.0.0.0', () => { log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`); });