---
title: "Discussion on \"How to fix `\"Error: listen EADDRINUSE: address already in use::: 8000\"` while using nodejs in two steps.\" | Hashnode"
description: "Discussion on \"How to fix `\"Error: listen EADDRINUSE: address already in use::: 8000\"` while using nodejs in two steps.\". Or Kill node process running under certain port.\n\n\nGoto the command line and find the \"PID\" of the process:\n$ lsof -i tcp:8000 //where the port you want to kill is 8000\n The above command opens a list of all processes with their \"PIDs\".\n...\nCOMMAND  ..."
url: "https://hashnode.com/posts/how-to-fix-error-listen-eaddrinuse-address-already-in-use-8000-while-using-nodejs-in-two-steps/5d56b3f67f5a35f340f9c58e"
---

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

Discussion

# [How to fix \`"Error: listen EADDRINUSE: address already in use::: 8000"\` while using nodejs in two steps.](https://dera.hashnode.dev/how-to-fix-error-listen-eaddrinuse-address-already-in-use-8000-while-using-nodejs-in-two-steps?utm_source=hashnode&utm_medium=feed)

Or Kill node process running under certain port. Goto the command line and find the "PID" of the process: $ lsof -i tcp:8000 //where the port you want to kill is 8000 The above command opens a list of all processes with their "PIDs". ... COMMAND ...

Aug 16, 2019 · 1 min read · dera.hashnode.dev  
Updated Jun 23, 2021  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#pid](https://hashnode.com/tag/pid)
-   [#error](https://hashnode.com/tag/error)

## Written by

[Chidera Paul Ugwuanyi](https://hashnode.com/@chidera)

@chidera · Aba, Abia State, Nigeria

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

React Native Developer

React native Developer, Life long learner, Jesus Christ lover.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
