on-internet
← Community

My ECS task mapped with portMapping = 9200 but the application end point is running only in port 8080

Stack Overflow ·

I am fairly new to AWS and Docker. What I have done is: I have created a sample Spring Boot get endpoint Created a docker image from it and pushed the same to DockerHub Created an ECS cluster and defined the task for the same, selected Fargate. My cluster and task definition both are running. While creating the task, I configured the portMapping to be 9200: but when I hit the public IP url with http://[ip]:9200/(endpoint), this gives "The site can't be reached" But when I hit the url with 8080 port http://[ip]:8080/(endpoint), I get proper response. My question is what is the reason for the sa

Comments

Sign in or sign up to comment and upvote.

No comments yet.