Make it possible to bind streming service to 0.0.0.0 (#5744)

th-downstream
Baptiste Gelez 7 years ago committed by Eugen Rochko
parent e149067561
commit 51b2f7d79e

@ -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}`);
});

Loading…
Cancel
Save