Elastic Beanstalk configures the proxy to forward requests to your app on port 8080. If you're running a Node.js project, make sure to set the PORT variable to 8080 in the .env file.
Node.js
PORT
.env