From 7e17e764a5d64847b811260c60c1c3e385bf4057 Mon Sep 17 00:00:00 2001 From: Daggertooth Date: Tue, 14 Nov 2017 08:32:24 +0000 Subject: [PATCH] Allow streaming server to take bindhost from HOST env --- streaming/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index 8adc5174a..f0492784a 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -467,7 +467,7 @@ const startWorker = (workerId) => { }); }, 30000); - server.listen(process.env.PORT || 4000, () => { + server.listen(process.env.PORT || 4000, process.env.HOST || '127.0.0.1', () => { log.info(`Worker ${workerId} now listening on ${server.address().address}:${server.address().port}`); });