# Problems with Node-Red flow credentials

**URL:** https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597
**Category:** General
**Created:** [1 October 2020 00:58 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597 "2020-10-01T00:58:35Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![MasterOne](https://avatars.discourse-cdn.com/v4/letter/m/8baadc/32.png) [@MasterOne](https://discourse.nodered.org/u/MasterOne)
#### Post date: [1 October 2020 00:58 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597/1 "2020-10-01T00:58:35Z")

</div>

I recently installed Node-Red with their script command ```  
bash \<(curl -sL [https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered](https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered))

```auto

"Welcome to Node-RED
===================

30 Sep 20:03:51 - [info] Node-RED version: v1.1.3
30 Sep 20:03:51 - [info] Node.js version: v12.18.4
30 Sep 20:03:51 - [info] Linux 5.4.51-v7+ arm LE
30 Sep 20:03:52 - [info] Loading palette nodes
30 Sep 20:03:54 - [info] Settings file : /home/pi/.node-red/settings.js
30 Sep 20:03:54 - [info] Context store : 'default' [module=memory]
30 Sep 20:03:54 - [info] User directory : /home/pi/.node-red
30 Sep 20:03:54 - [warn] Projects disabled : editorTheme.projects.enabled=false
30 Sep 20:03:54 - [info] Flows file : /home/pi/.node-red/flows_raspberrypi.json
30 Sep 20:03:54 - [info] Creating new flow file
30 Sep 20:03:54 - [warn]

---------------------------------------------------------------------
Your flow credentials file is encrypted using a system-generated key.

If the system-generated key is lost for any reason, your credentials
file will not be recoverable, you will have to delete it and re-enter
your credentials.

You should set your own key using the 'credentialSecret' option in
your settings file. Node-RED will then re-encrypt your credentials
file using your chosen key the next time you deploy a change.
---------------------------------------------------------------------

30 Sep 20:03:54 - [info] Starting flows
30 Sep 20:03:54 - [info] Started flows
30 Sep 20:03:54 - [error] Unable to listen on http://127.0.0.1:1880/
30 Sep 20:03:54 - [error] Error: port in use"

Any suggestions how to solve it?
```

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [1 October 2020 07:34 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597/2 "2020-10-01T07:34:40Z")

</div>

No issues there except the port is being used by some other device. Try starting with a different port,  
[https://nodered.org/docs/getting-started/local#command-line-usage](https://nodered.org/docs/getting-started/local#command-line-usage).  
Or set the port in the settings js,  
[https://nodered.org/docs/user-guide/runtime/configuration](https://nodered.org/docs/user-guide/runtime/configuration)

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [1 October 2020 08:07 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597/3 "2020-10-01T08:07:53Z")

</div>

> [@E1cid](#):
>
> No issues there except the port is being used by some other device.

Which is probably another instance of Node-RED. So before going straight to changing the port, the question is whether they want two instances of node-red running or not.

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [1 October 2020 08:15 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597/4 "2020-10-01T08:15:55Z")

</div>

Probably.

---

<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: [30 November 2020 08:16 UTC](https://discourse.nodered.org/t/problems-with-node-red-flow-credentials/33597/5 "2020-11-30T08:16:00Z")

</div>

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