Node-red editor interface doesn't load

Hi, I hope I'll find help here, I'm a beginner in node red, and new comer on the forum, my server encountered a problem since a time, when I start the server in command line, it's giving me the link
http://127.0.0.1:1880 /, but when I paste that address in my browser, it doesn't load, it takes an unending time tuning for never being loaded,

Is there anyone who can help me ? I thought that the problem came from the port, that it was used by another app, but it wasn't that after checking, I tried even to delete navigator's cache content !

Hi @zazab,

Ok, we need some information.

1 - what is the computer on which you are running Node-Red?
2 - is Node-Red being autostarted or are you starting it from a CLI/Terminal?
3 - Who (what) is givng you the 127.0.0.1:1880?

Hope to hear back soon.

Thank you for fast responding Trying_to_learn,

1 - Node red i running on Windows 10
2 - I param it to auto start when I turn on my computer, even in that case it doesn't work, it doesn't matter, manually started from a CLI or autostarted,
3 - when I start the server from the CLI, it's giving some informations, and the 127.0.0.1:1880 is a part of them, and I'm just copying this link and paste it in my browser.

Start node red from a terminal & paste the output into a reply

Is the browser running on the same machine as node red ?

sorry for being so long, yes, node red is on the same machine where the browser is running,

I think that is what I'm doing, I'm copying the terminal output, and I'm pasting it in the browser's search field, is that to put the output into a reply ?

Steve meant you to paste it here so that we can see the startup log shown in the command window when you start node-red.

Oh I'm really sorry, here's the terminal output :

C:\Windows\system32>node-red
24 Aug 21:34:29 - [info]

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

24 Aug 21:34:29 - [info] Node-RED version: v3.0.2
24 Aug 21:34:29 - [info] Node.js  version: v18.16.1
24 Aug 21:34:29 - [info] Windows_NT 10.0.19045 x64 LE
24 Aug 21:35:09 - [info] Loading palette nodes
24 Aug 21:35:40 - [info] Settings file  : C:\Users\account_name\.node-red\settings.js
24 Aug 21:35:40 - [info] Context store  : 'default' [module=memory]
24 Aug 21:35:40 - [info] User directory : /home/nol/.node-red/
24 Aug 21:35:40 - [warn] Projects disabled : editorTheme.projects.enabled=false
24 Aug 21:35:40 - [info] Flows file     : \home\nol\.node-red\flows.json
24 Aug 21:35:40 - [info] Creating new flow file
24 Aug 21:35:40 - [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.
---------------------------------------------------------------------

24 Aug 21:35:40 - [warn] Encrypted credentials not found
24 Aug 21:35:40 - [info] Starting flows
24 Aug 21:35:40 - [info] Started flows
24 Aug 21:35:40 - [info] Server now running at http://127.0.0.1:1880/

Is /home/nol your home directory? That sounds as if you have copy/pasted a script from somewhere.

How did you install node red?

I installed it following the instructions on the official documentation of node red, by first installing node.js, then node-red in command line,

I think you need someone who knows about Windows to work out why it is using those strange directories. Hopefully someone will assist.

You have also changed something. Potentially in settings file?

That directory is often used in documentation and in comments in the settings file.

nol is a username our very own Nick O'Leary uses for examples


Show us the content of your settings file C:\Users\account_name\.node-red\settings.js

Please link to the docs you used

1 Like

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