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
|
|
@ -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}`);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Reference in a new issue