PUZZLEMEDIUM

Frontend Can't Reach the API

TaskFlow's Compose stack is up, but the frontend health check can't reach the API. Fix the service name mismatch so /health returns OK.

30 minutes
docker
Share this Puzzle

Puzzle Overview

A small TaskFlow Docker Compose app lives under /root/taskflow: an `api` service that answers on port 8000, and a `frontend` that proxies health checks to that API. Both containers start, but curling the published frontend health endpoint on :8080 fails because the frontend cannot reach the API over the Compose network.

Your job: diagnose the inter-service connectivity failure, fix the Compose (or frontend) configuration so the frontend can resolve and call the API, and bring http://127.0.0.1:8080/health back to OK.

Skills tested: Docker Compose service DNS, container networking, reading compose YAML and container logs.

Technologies Covered

dockercomposenetworkingdnstroubleshootingpuzzle

Choose your plan

Simple, Transparent Pricing

Unlock full access to TeKanAid courses, labs, and bootcamps

Buying for a team? Private corporate training is available for up to 15 learners.View team training
MonthlyQuarterly
Try Premium free for 7 days →

Just exploring? Start free below. Want the full experience? Try Premium free for 7 days (card required, $0 today).

Pro

All courses, with lab scripts to run on your own machine

$59/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Full access to all courses
  • Lab scripts to download and run on your own machine (hosted labs not included)
  • Progress tracking
  • Certificate of completion
  • Community access
  • Self-paced bootcamps
  • Premium puzzle library not included (5 free puzzles available)
  • New content access
Recommended

Premium

Full access, including unlimited hosted labs

$99/month

Renews automatically. Cancel anytime.

Final price verified at checkout.

  • Everything in Pro
  • Unlimited hands-on labs, fully hosted on TeKanAid Academy (nothing to set up)
  • Full access to the puzzle library
  • Lab AI Assistant
  • Priority support

Just exploring? Start free, no account needed

Three free ways to start. All bridge into the paid Premium catalog when you're ready.

Not ready to commit? The crash course is email-only. No academy account required.

Ready to Crack It?

Jump into the broken system, diagnose the fault, and fix it.

Get Access Now