[AWS] elastic beanstalk으로 배포했을 때 502 error 해결
2023. 12. 24. 22:34ㆍAWS
- 상황
배포된 url에 들어간다
- 에러
502 bad gateway 에러가 난다
- 원인
beanstalk이 기본적으로 포트가 5000번이기 때문이다.
- 해결
아래와 같이 PORT 8080을 추가해준다.
Reference
https://stackoverflow.com/questions/54612962/502-bad-gateway-elastic-beanstalk-spring-boot
'AWS' 카테고리의 다른 글
[AWS] elastic beanstalk 413 Request Entity Too Large 문제 해결 (1) | 2023.12.25 |
---|---|
[AWS] elastic beanstalk 배포가 안되는 에러와 해결 (0) | 2023.12.24 |