dash app not working when deployed in AWS ECS

0

Hi all. I deployed a python dash app in ECS. Everything works fine and the task seems to be running. https://i.stack.imgur.com/C8jZh.png?s=556 https://i.stack.imgur.com/mywPI.pngs=556

However when i try to access it with the public or private ip on the port that the app is running (10000), it is not working as you can see below. Any idea why it could be happening? https://i.stack.imgur.com/dhamC.png?s=556

Apologies, not sure how to post images.

Grigas
asked 2 years ago263 views
1 Answer
0

Was the task created through a Service or directly?

A few things you can check:

  • Did you configure the network bindings in your container to expose port 10000? (portMappings section in the Task Definition)
  • Check the inbound rules of the security group attached to your task ENI to make sure port 10000 is allowed
  • Verify you don't have any NACL on the subnet that could block some traffic
profile pictureAWS
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions