Add host listening to all addresses including docker allocating on a docker network

This commit is contained in:
NyxiumYuuki 2021-06-05 00:36:53 +02:00
parent 785560b666
commit 75060a0997
3 changed files with 5 additions and 5 deletions

View file

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