Check for Local Applications Using Port 8080

The error message indicates that the port 8080 is already in use on your local machine. This could happen if another application or container is running and has bound to port 8080. Here’s how you can resolve the issue:


1. Check for Running Containers

Run the following command to check if any Docker containers are already running and using port 8080:

docker ps
  • Look for containers that expose port 8080.
  • If found, stop the container using:
docker stop <container_id>

2. Check for Local Applications Using Port 8080

If no Docker container is using port 8080, check if a local application is bound to this port:

On Linux or macOS:

sudo netstat -tuln | grep 8080

On Windows:

netstat -ano | findstr :8080
  • Identify the process ID (PID) using port 8080 and terminate it if necessary:
    • On Linux/macOS: kill -9 <PID>
    • On Windows: taskkill /PID <PID> /F

🚀 Join the DevOps Dojo! 🌟

Are you passionate about growth, learning, and collaboration in the world of DevOps? The DevOps Dojo is your new home! Whether you’re just starting out or looking to refine your skills, this vibrant community is here to support your journey.

🔧 What You’ll Get:

  • Access to expert-led discussions
  • Hands-on learning opportunities
  • Networking with like-minded professionals

Ready to take your DevOps game to the next level? Click below to learn more and join the community!

👉 Join the DevOps Dojo Today

Let’s build, grow, and thrive together! 🌐

Leave a Comment