# Node-red is running twice on port 1880

**URL:** <https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348>\
**Category:** General\
**Created:** [19 July 2020 17:19 UTC](https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348 "2020-07-19T17:19:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jitrah](https://avatars.discourse-cdn.com/v4/letter/j/7c8e57/32.png) [@jitrah](https://discourse.nodered.org/u/jitrah)\
**Post date:** [19 July 2020 17:19 UTC](https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348/1 "2020-07-19T17:19:19Z")

</div>

Hi guys,

I'm really new at all this. I launched a EC2 Ubuntu instance to be able to run Node-Red on it. After installing it following the instructions and after setting up npm2 to auto-start on reboot, it appears that node-red is running twice on the same port preventing me to access it properly (Unable to listen / Error: port in use).

 ![Screen Shot 2020-07-19 at 10.17.22 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/a/da20ce5576d27355f556d7ee860a3f00f79c117d.png)

How do I kill one instance and make sure it's running properly?

Thank you,  
JB

---

<div class="post-metadata">

**Author:** ![giorgis](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@giorgis](https://discourse.nodered.org/u/giorgis)\
**Post date:** [19 July 2020 17:22 UTC](https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348/2 "2020-07-19T17:22:49Z")

</div>

Hi @jitrah,

you don't have to do anything.

The node-red process is the "32574" one and the other one is the "grep" that you did to find the process 🙂

You can also have a look here : [https://www.ibm.com/developerworks/library/l-keyc3/#code10](https://www.ibm.com/developerworks/library/l-keyc3/#code10)  
on a way how to eliminate grep from showing itself.

---

<div class="post-metadata">

**Author:** ![giorgis](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@giorgis](https://discourse.nodered.org/u/giorgis)\
**Post date:** [19 July 2020 17:39 UTC](https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348/4 "2020-07-19T17:39:50Z")

</div>

If the instance is already running you cannot start another on the same port.

Do a "netstat -tunlp" to see if in port "1880" is already bind a node-red process. If it is you won't be able to bind another on the same port.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [17 September 2020 17:57 UTC](https://discourse.nodered.org/t/node-red-is-running-twice-on-port-1880/30348/6 "2020-09-17T17:57:52Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
