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
已提问 2 年前270 查看次数
1 回答
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
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则