📅  最后修改于: 2022-03-11 15:02:02.201000             🧑  作者: Mango
/*
Change the host so you're not listening on localhost(127.0.0.1)
*/
const port = 3000;
const host = '0.0.0.0';
app.listen(port, host, () => {
console.log('Listening on port ' + port);
});