# Password of dashboard in multiples intances

**URL:** <https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996>\
**Category:** General\
**Tags:** node-red-dashboard\
**Created:** [30 April 2022 11:07 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996 "2022-04-30T11:07:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lucas](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lucas](https://discourse.nodered.org/u/Lucas)\
**Post date:** [30 April 2022 11:07 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/1 "2022-04-30T11:07:50Z")

</div>

Good morning to everybody;

I have two instances running on my device (localhost:1881 and localhost:1882), does anybody knows how can I put diferents passwords on dashboard on the both instances?

Normaly when I'm using just one instance (localhost:1880) I modify this on settings.js:

```auto
// To password protect the node-defined HTTP endpoints (httpNodeRoot), or
// the static content (httpStatic), the following properties can be used.
// The pass field is a bcrypt hash of the password.
// See http://nodered.org/docs/security.html#generating-the-password-hash
httpNodeAuth: {user:"xxxx",pass:"xxxx"
httpStaticAuth: {user:"xxx",pass:"xxxxx`

```

But now I don't know how I can put password on dashboard when I'm using multiples instances, Can anybody help me?

Thank you all;

---

<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:** [30 April 2022 11:12 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/2 "2022-04-30T11:12:28Z")

</div>

How do you launch the separate instances?

Do you specify a `userDir` or a settings file? or simply specify a different port number?

Please show us

---

<div class="post-metadata">

**Author:** ![Lucas](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lucas](https://discourse.nodered.org/u/Lucas)\
**Post date:** [30 April 2022 11:15 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/4 "2022-04-30T11:15:44Z")

</div>

Hi Steve,

I launch this way:

```auto
node-red -p 1881 -u c:/nr1881
node-red -p 1882 -u c:/nr1882

```

---

<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:** [30 April 2022 11:16 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/5 "2022-04-30T11:16:05Z")

</div>

Then it should simply be a case of editing the settings.js file in BOTH of those folders.

if not, then specify the settings file with the `-s` switch

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

---

<div class="post-metadata">

**Author:** ![Lucas](https://avatars.discourse-cdn.com/v4/letter/l/ba8739/32.png) [@Lucas](https://discourse.nodered.org/u/Lucas)\
**Post date:** [30 April 2022 11:40 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/6 "2022-04-30T11:40:23Z")

</div>

It worked, thank you Steve!!

---

<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:** [14 May 2022 11:40 UTC](https://discourse.nodered.org/t/password-of-dashboard-in-multiples-intances/61996/7 "2022-05-14T11:40:56Z")

</div>

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