localhost:1880 (Node-RED): not working and fixes
Port 1880 is the default editor page of Node-RED. How to start it and fix errors.
Open this address: http://localhost:1880This opens on your own computer. It only works if the program is running.
localhost:1880 is the Node-RED editor. You start Node-RED from a terminal and then open the address in a browser to wire flows together.
What runs on localhost:1880
- Node-RED, the flow-based programming tool
Commands to start and test port 1880
npm install -g --unsafe-perm node-rednode-rednode-red --port 1881Find what is using port 1880
Run these in a terminal on your computer. Nothing is sent to this site.
If localhost:1880 will not open
- Credentials in flows
- Node-RED’s Docker guide mentions setting
credentialSecretin settings.js to encrypt stored credentials. - Permission denied on a mounted folder
- With a host folder, the Node-RED user inside the container (uid 1000 by default) must be able to write to it. Give that uid ownership of the folder.
- Docker: flows disappear when the container is removed
- Node-RED’s Docker guide keeps user data in /data and says to mount it to a named volume or host folder:
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red. Use -d instead of -it to run it in the background. - The editor is open to anyone on the network
- By default Node-RED has no login. Turn on adminAuth in settings.js before you make it reachable from other devices.
- Port 1880 is already in use
- Another program is on this port. Find it with the tool below and stop it, or start yours on another port.
- This site can’t be reached (ERR_CONNECTION_REFUSED)
- The program is not running. Start it and keep that terminal open. See the full checklist.
- Works on your computer, not on your phone
- Start the server on all network addresses and use your computer’s IP address. See how to open localhost from your phone.
Other ports like 1880
| Port | Usually used by |
|---|---|
| localhost:11434 | Ollama (AI models) |
| localhost:5601 | Kibana |
| localhost:11501 | Khajane 2 helper (reported) |
| localhost:9200 | Elasticsearch |
| localhost:5672 | RabbitMQ |
| localhost:15672 | RabbitMQ admin page |
| localhost:9090 | Prometheus |
Questions about localhost:1880
- Where are my flows stored?
- In a flows.json file inside the Node-RED user folder, usually .node-red in your home folder.
- Is localhost:1880 safe?
- Yes, as long as it stays on localhost. Only your own computer can reach it. It becomes reachable from other devices only if you start the program on 0.0.0.0 or your computer's IP address. Do not put development or admin tools on the public internet.