I'm getting error 404 while trying to access my spring boot app on Amazon Elastic Bean Stalk

前端 未结 4 2101
北荒
北荒 2021-01-17 14:51

I developed a spring boot application and I\'ve put the following entries in src/main/resources/application.properties:

spring.mvc.         


        
4条回答
  •  臣服心动
    2021-01-17 15:32

    Since you have your app on port 5000 it is accessible on that port, not default http port 80.

    Either access it with

    http://my-aws-ebs-instance.com:5000/welcome
    

    or create port forwarding rune in AWS so traffing going to port 80 will be pushed you application server's port 5000.

提交回复
热议问题