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

@ -52,7 +52,7 @@ mongoConnect.connectToServer(function( err, client ) {
changePassword(req,res);
});
app.listen(port, () => {
app.listen(port, '0.0.0.0',() => {
console.log (`listening on port ${port}`);
});
});