title: How do I link 2 containers running in a AWS ECS task
body: <p>I am new to ECS and I am trying to deploy a couple of containers in a ECS task using Fargate.</p>
  
  <p>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.</p>
  
  <p>I am using the awsvpc network with Fargate and I have to do it that way.</p>
  
  <p>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</p>
  
  <p>Any help would be appreciated. Thank you</p>