I am new to ECS and I am trying to deploy a couple of containers in a ECS task using Fargate.
I have 1 container running that uses Angular2 and is running on nginx, the other container is the backend and is running on Springboot and uses the port 42048.
I am using the awsvpc network with Fargate and I have to do it that way.
The Angular app communicates with the backend using localhost:42048/some_url and it works fine in my local docker but in AWS the front-end doesn't find the backend. Currently I have my ports mapped with 80 for the front end and 42048 for the backend and the front-end when deployed locally was able to find the backend as localhost:42048
Any help would be appreciated. Thank you