Add host listening to all addresses including docker allocating on a docker network
This commit is contained in:
parent
785560b666
commit
75060a0997
3 changed files with 5 additions and 5 deletions
|
|
@ -137,6 +137,6 @@ io.on('connection',socket => {
|
|||
});
|
||||
});
|
||||
|
||||
server.listen(port, () => {
|
||||
console.log(`listening on *:${port}/`);
|
||||
server.listen(port, '0.0.0.0',() => {
|
||||
console.log (`listening on port ${port}`);
|
||||
});
|
||||
Reference in a new issue