How do I safely run a Node.js server on port 80 with Amazon Elastic Beanstalk?
Beanstalk has a proxy build into it listening on port 80. Your Node.js app should only listen on process.env.PORT
. Once it's done that, you'll be good to go.
Beanstalk has a proxy build into it listening on port 80. Your Node.js app should only listen on process.env.PORT
. Once it's done that, you'll be good to go.