# Create several projects on the same machine

**URL:** <https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806>\
**Category:** General\
**Created:** [8 March 2020 18:05 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806 "2020-03-08T18:05:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [8 March 2020 18:05 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/1 "2020-03-08T18:05:57Z")

</div>

So, I'm using this weekend to learn NR and got as far as creating an admin/user (read only) account and deploying few gadgets. That has been fun! Now, I'd like to keep my first project running and create a second one. How do I do it? Can an user be created for each project?  
TIA

 ![Captura](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/d/adc0458e69e2b6f081dafce6ddee92cb741e7722.png)

---

<div class="post-metadata">

**Author:** ![techraf](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/techraf/32/17389_2.png) [@techraf](https://discourse.nodered.org/u/techraf)\
**Post date:** [8 March 2020 19:29 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/2 "2020-03-08T19:29:19Z")

</div>

> [@ebolisa](#):
>
> I'd like to keep my first project running and create a second one. How do I do it?

Are you aware that:

> Node-RED only runs one project at any time. [source](https://nodered.org/docs/user-guide/projects/#creating-new-projects)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [8 March 2020 20:26 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/3 "2020-03-08T20:26:57Z")

</div>

However the Projects feature will allow you you to build multiple projects but only have one of them running at any moment.  
If you want to run multiple in parallel you will need to run multiple copies of node-red at once.

---

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [8 March 2020 21:03 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/4 "2020-03-08T21:03:05Z")

</div>

😕 ok, but I don't have the option to start a new project in my web. Will keep searching.

---

<div class="post-metadata">

**Author:** ![ebolisa](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ebolisa/32/89203_2.png) [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Post date:** [8 March 2020 21:05 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/5 "2020-03-08T21:05:08Z")

</div>

How do you do that? Because port 1880 cannot be shared, right? Surely I'm missing some here.  
And how about exporting the code so it can be executed by Python? Is it possible?

---

<div class="post-metadata">

**Author:** ![hominidae](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hominidae/32/4174_2.png) [@hominidae](https://discourse.nodered.org/u/hominidae)\
**Post date:** [8 March 2020 21:14 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/6 "2020-03-08T21:14:35Z")

</div>

...running several instances on the same host can be quite an effort.  
When using the same machine, IP-Ports need to be re.mapped/changed.  
My solution is to use Docker, creating a new instance with its own IP .... works like a treat.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [8 March 2020 21:16 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/7 "2020-03-08T21:16:23Z")

</div>

Check this previous thread - [Node red multiple instances](https://discourse.nodered.org/t/node-red-multiple-instances/9787)

---

<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:** [7 May 2020 21:16 UTC](https://discourse.nodered.org/t/create-several-projects-on-the-same-machine/22806/8 "2020-05-07T21:16:27Z")

</div>

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