About Node-RED
Node-RED is an Apache-2.0 tool built on Node.js and hosted by the OpenJS Foundation. You drag nodes onto a canvas and wire them into flows that react to MQTT messages, HTTP requests, schedules or webhooks, with JavaScript function nodes for custom logic.
On a CloudSat VPS your flows get a public, always-on endpoint for webhooks and MQTT, apart from the home network your devices live on.
The editor listens on port 1880 and has no login out of the box. Set adminAuth before exposing it, or keep the port closed and use an SSH tunnel.
What you get with Node-RED
- Drag-and-drop flow editor in the browser
- MQTT, HTTP, WebSocket, TCP and UDP nodes
- Function nodes in JavaScript
- Thousands of community nodes through the palette manager
- Flows stored as JSON for version control
Node-RED use cases
- Route sensor data from MQTT into a database
- Glue SaaS webhooks to internal APIs
- Prototype home automation off the home network
After you deploy Node-RED
- With the server Running, open a tunnel,
ssh -L 1880:localhost:1880 root@<server IP>, and visithttp://localhost:1880. - Generate a password hash with
node-red admin hash-pw, add it underadminAuthin~/.node-red/settings.js, and restart Node-RED. - Install extra nodes from Manage palette in the editor menu.
- If flows must be public, publish 1880 only through a reverse proxy with HTTPS on your domain.
Node-RED ports
Open these in your firewall if you use one: 1880/tcp editor and HTTP endpoints.
Node-RED FAQ
Is the Node-RED editor protected by default?
No. Anyone who reaches port 1880 can edit and deploy flows, which means running code on the server. Configure adminAuth or keep the port behind a tunnel or firewall.
Where are my flows saved?
In the user directory, usually ~/.node-red, as a flows JSON file next to settings.js. Back up that folder, or turn on the Projects feature to track flows in git.
Disclaimer. The Node-RED project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.