Hacker News new | ask | show | jobs
by lucaspiller 3729 days ago
> NOTE: npm start has to listen on a port. It can be any port!

Does this mean you forward port 80/443 to whatever port the app is listening on, or I can have my app listen on random external ports?

1 comments

Yes. Just do `app.listen()` or pick `3000` or `8080` or `80` or…