Hi I am new AWS and trying to deploy spring boot application in Elastic Beanstalk . Deployment is successful but not able to access application .Getting 502 Bad Request Gateway nginx/1.10.1 error. Deployment is done on Configuration 64bit Amazon Linux 2016.09 v2.2.0 running Java 8 (nginx proxy server). Is thier any way to solve this issue. After doing googling i found it is because of port mismatch.I wanted to know where i should change the port numbers.
相关问题
- How to generate 12 digit unique number in redshift
- Use awslogs with kubernetes 'natively'
- JQ: Select when attribute value exists in a bash a
- Dependency injection into Logback Appenders with S
- Assume/switch role in aws toolkit for eclipse 2.0
From AWS documentation:
You can set the port in
server.port
property inapplication.properties
or set it through environment as described in the document referred above by setting SERVER_PORT environment property.