AWS - ECS run a task show this error Reasons : ["RESOURCE:PORTS"]
amazon-ecs, amazon-web-services
Solution
It looks like the scheduler cannot assign your task to an instance because it requires a fixed port that is already taken. The simplest solution is to choose another port number in the specification of your task.
You could also allow the scheduler to allocate the port dynamically, but in this case you would probably want to define a service attached to a load balancer in order to expose it to the outside world.
Problem
When I try run a task in my service using ECS a errors message is displayed Run tasks failed Reasons : ["RESOURCE:PORTS"] How can I resolve this issue?