1👍
By default, EB looks for app running on PORT 8080. You can configure it to the port of your choosing. – Open the Elastic Beanstalk console, and in the Regions list, select your AWS Region.
- In the navigation pane, choose Environments, and then choose the name of your environment from the list.
- In the navigation pane, choose Configuration.
- In the Software configuration category, choose Edit.
- Looks for "Environment properties".
- Add property name as "PORT" and value as "8000"
- Apply the changes.
👤rslj
Source:stackexchange.com