A small number of students are hitting an edge case where the nginx upstream connection is failing after they run docker-compose up --build:
connect() failed (111: Connection refused) while connecting to upstream, client:[DOCKER INTERNAL IP], server:, request: "GET / HTTP/1.1", upstream: [NETWORK IP]
The solution they found was to add this to their nginx service in the docker-compose.yml file:
nginx:
depends_on:
- api
- client