Logged port does not match the actual listening port
Closed this issue · 0 comments
dmartinezg commented
When logging the startup, the logged port does not match the one used in the app (it is harcoded to 3000)
if (!module.parent) {
app.listen(app.get('port'));
console.log('listening on port 3000');
}
possible fix:
if (!module.parent) {
var port = app.get('port');
app.listen(port);
console.log('listening on port ' + port);
}