---
title: "Discussion on \"TIL: How to Fix the \"Port Already in Use\" Error in Docker\" | Hashnode"
description: "Discussion on \"TIL: How to Fix the \"Port Already in Use\" Error in Docker\". A quick DevOps guide to fixing the dreaded \"port is already allocated\" or EADDRINUSE error in Docker using simple lsof and kill terminal commands."
url: "https://hashnode.com/posts/fix-docker-port-already-in-use-error/6a30c579011edadb5960e9d1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [TIL: How to Fix the "Port Already in Use" Error in Docker](https://atulcodes.hashnode.dev/fix-docker-port-already-in-use-error?utm_source=hashnode&utm_medium=feed)

A quick DevOps guide to fixing the dreaded "port is already allocated" or EADDRINUSE error in Docker using simple lsof and kill terminal commands.

Jun 16 · 2 min read · atulcodes.hashnode.dev  
Read the article

-   [#docker](https://hashnode.com/tag/docker)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#linux](https://hashnode.com/tag/linux)
-   [#devops](https://hashnode.com/tag/devops)
-   [#til](https://hashnode.com/tag/til)

## Written by

[Atul Vishwakarma](https://hashnode.com/@vatul16)

@vatul16 · Mumbai, India

  
[View profile](https://hashnode.com/@vatul16)

DevOps & Cloud Professional | Technical Writer

Hi, I'm Atul! I am a software engineer with a strong focus on DevOps, Cloud Infrastructure, and automation. I spend my time building scalable CI/CD pipelines, mastering tools like Docker, Terraform, and AWS, and breaking down complex cloud concepts into accessible, hands-on tutorials. I believe the best way to learn is to build, break, and document the process.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
