Spring Boot Application deployed on Elastic Beanstalk Java environment returns 502

后端 未结 3 527
太阳男子
太阳男子 2021-01-04 01:52

I\'m trying to deploy a very simple Spring Boot application on AWS Elastic Beanstalk using AWS\'s Java configuration (not their Tomcat configuration), but I keep getting a 5

3条回答
  •  庸人自扰
    2021-01-04 02:27

    From your question description and the security group settings you send me your only inbound Port 80 for your EC2 instance was open to world through firewall and you were using port 5000 for your application. So using the security rule that I gave you it opened the inbound port 5000 too for your EC2 instance so your application started working without above error.

提交回复
热议问题