# Multiple users, same online server

**URL:** https://discourse.nodered.org/t/multiple-users-same-online-server/30555
**Category:** Industrial
**Created:** [22 July 2020 14:50 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555 "2020-07-22T14:50:57Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [22 July 2020 14:50 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/1 "2020-07-22T14:50:57Z")

</div>

Hi, I know there are discussions about this, but I can't seem to figure out a really clear answer, so I'm hoping someone might help out with this. We love Node-RED, and we have been using it locally on a Pi, but now we want to be able to deploy it for multiple users that can see their individual dashboards online.

I have an Ubuntu online server and I need to set up Node-RED for multiple users on a single server. This would need to use a separate login for each user (and thus different ports?), with different flows for each user (i.e. multiple instances of Node-RED on the same server, with separate user logins). Is this possible?

From what I have read so far, there seems to be a two-sided issue, one being the visual design screen, the other being the dashboard issue. It seems we can have separate dashboards, IF we write special custom code, using a specific add-on. Is that correct?

Sorry if this seems like a repeat question, but I have not been able to get quite the understanding I need. Just to put this into a context, we have about 5 users with separate greenhouses that want their own individual system online, with a secure login.

Regards, AB

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 July 2020 14:54 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/2 "2020-07-22T14:54:06Z")

</div>

As you want separate users, separate dashboards, separate logins, separated ports - just run multiple instances on the one server.

This might help you get going (its a windows answer but easily translates to linux)...

> [@Node red multiple instances](https://discourse.nodered.org/t/node-red-multiple-instances/9787/7):
>
> assuming windows (you didnt specify)... Create 4 folders... c:\node-red-1880 c:\node-red-1881 c:\node-red-1882 c:\node-red-1883 (avoid 1883) c:\node-red-1884 open 4 cmd windows Start \>\> Run \>\> cmd \>\> {enter} Start \>\> Run \>\> cmd \>\> {enter} Start \>\> Run \>\> cmd \>\> {enter} Start \>\> Run \>\> cmd \>\> {enter} In cmd1... node-red -p 1880 -u c:/node-red-1880 In cmd2... node-red -p 1881 -u c:/node-red-1881 In cmd3... node-red -p 1882 -u c:/node-red-1882 In cmd4... node-red -p 1884 -u c:/no…

Edit  
command line info [here](https://nodered.org/docs/getting-started/local#command-line-usage)

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [22 July 2020 18:18 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/3 "2020-07-22T18:18:40Z")

</div>

Hi Steve, thanks for that, I will give it a try! I'm just glad to know it is in fact possible.

Cheers, AB

---

<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: [22 July 2020 22:06 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/4 "2020-07-22T22:06:28Z")

</div>

Steve, be careful with that. Port 1883 is the default Mqtt port much beloved around these parts, so any solution should try to avoid that as at some point it will get suggested as the answer to a question.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [22 July 2020 22:11 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/5 "2020-07-22T22:11:48Z")

</div>

True. I should have skipped 1883 in the example (note to self - edit that post)

---

<div class="post-metadata">

### Author: ![iotman](https://avatars.discourse-cdn.com/v4/letter/i/6a8cbe/32.png) [@iotman](https://discourse.nodered.org/u/iotman)
#### Post date: [22 July 2020 22:24 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/6 "2020-07-22T22:24:04Z")

</div>

Hi, that's a good point, I have noted it. I have also been studying the 'global vs local' issue before I get started, and I found this article to be very helpful in developing the best strategy:

[http://www.steves-internet-guide.com/managing-node-red-projects/](http://www.steves-internet-guide.com/managing-node-red-projects/)

So far I have created an Ubuntu server at Digital Ocean, and running multiple instances of Node-RED seems complicated, but 'doable'. I would be interested to hear if anyone has had success with this.

Tks, AB

---

<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: [20 September 2020 22:24 UTC](https://discourse.nodered.org/t/multiple-users-same-online-server/30555/7 "2020-09-20T22:24:07Z")

</div>

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