Troubleshooting
Node-RED on a Windows XP machine: isolate and transfer instead
Short answer
Do not install Node-RED on the Windows XP machine PC: Node.js dropped XP support in the 6.0 line, the last XP-capable line, 4.x, closed LTS in April 2018, and every documented Node-RED minimum from 2.x upward needs Node.js 12 or newer. Keep XP on an isolated segment with no internet route and move the data through a maintained dual-NIC edge device or read the PLC directly.
On this page
- Can you run Node-RED on a Windows XP machine?
- Which Node.js version was the last to support Windows XP?
- Which Node-RED version can run on that Node.js?
- Why not connect the XP PC to the internet just for the download?
- What moves the data out instead?
- How do you keep the XP machine isolated during the transfer?
- What do you check before you call the extraction done?
- When do you stop and escalate instead of transferring?
- Questions asked
Do not install Node-RED on the Windows XP machine PC. There is no documented Node.js and Node-RED pair that runs there, and a runtime added to an unsupported operating system only stacks unpatched software on a host that stopped receiving Microsoft security fixes in April 2014. Keep XP on a separated segment with no route to the internet, and move the data out through a maintained edge device with two network interfaces: it reads the XP-side file share or the PLC, then forwards to your broker or historian. The sections below give the version arithmetic that settles the question, the isolation and transfer setup, and the checks that make the extracted data trustworthy.
Can you run Node-RED on a Windows XP machine? #
No — there is no documented Node.js and Node-RED pair for XP: Node.js removed Windows XP support in the 6.0 line, the project does not support a platform whose vendor has ended support, and no documented Node-RED release runs on a Node.js version XP could run.
The Node.js position is on record in nodejs/node issue 36222: a platform is unsupported once its vendor has ended support, and Windows did exactly that at the operating-system layer. Any Node.js on this machine therefore starts from a base nobody patches — a runtime fault has no fix path, and neither does the system under it. A successful launch would prove one thing, that an executable started; it would not establish support, patchability or dependable operation. Decision: the question is not which versions to try but that none is supported, so nothing gets installed on this machine.
Which Node.js version was the last to support Windows XP? #
Node.js 4.x was the last release line that ran on Windows XP, and its LTS support closed in April 2018; the 6.0 line dropped XP and Vista, a change recorded in the Node.js issue tracker in November 2015.
The record is nodejs/node issue 3804: the 6.0 line removed Windows XP and Vista support, while the 4.x LTS line was unaffected and ran to the end of its LTS window. That makes 4.x the ceiling, and the ceiling is expired. Comments in the same issue report unofficial builds up to a claimed Node.js 6.12.3 running on XP after defeating the installer's operating-system check — a reported claim, not a supported pairing, and it still falls short of every documented Node-RED minimum, as the next section's arithmetic shows. Decision: treat 4.x as the historical ceiling for XP and plan nothing that depends on it.
Which Node-RED version can run on that Node.js? #
None: the documented minimums are Node-RED 2.x at Node.js 12, 3.x at 14, 4.x at 18 and 5.x at 22, against a last XP-capable Node.js of 4, so even the lowest minimum sits eight major versions above what XP ever ran.
The Node-RED documentation publishes a minimum Node.js per release line, and that table is where this question ends. Run it like any compatibility chain, from the least demanding documented pairing.
Worked example — lowest minimum against highest runtime. Node-RED 2.x carries the lowest minimum the table documents, Node.js 12. The highest line that ever supported XP is Node.js 4.x. Compare majors: 12 - 4 = 8, so the best runtime XP ran sits eight major versions below the floor of the least demanding documented Node-RED. The community-claimed unofficial build narrows the gap less than it seems: its reported ceiling, Node.js 6.12.3, leaves 12 - 6 = 6 majors missing. On the supported side of the gap, the Node-RED documentation for running it locally shows Node-RED v4.1.7 on Node.js v22.22.1, and the current npm release is v5.0.10 — 22 - 4 = 18 majors above the XP ceiling. No documented combination closes the gap.
| Node-RED line | Minimum Node.js | Fits the XP-era ceiling of 4.x? |
|---|---|---|
| 2.x | 12 | No — 12 - 4 = 8 majors short |
| 3.x | 14 | No |
| 4.x | 18 | No |
| 5.x | 22 | No |
Decision: the pair the question asks for — which Node.js, which Node-RED — does not exist in documented form for Windows XP, so the search ends at the version table, not at the command line.
Why not connect the XP PC to the internet just for the download? #
Because the trade runs backwards: XP has not received a Microsoft security fix since extended support ended in April 2014, so an internet-connected hour on your network buys one installer and exposes a host carrying more than a decade of unpatched vulnerabilities.
A Node-RED install pulls the runtime and every node package over the network, so the shortcut puts the unpatched host on a live network for the sake of an installer. Packaging everything offline does not rescue the plan: the runtime chain is expired either way, and the offline technique — installing a Node-RED node from a local npm package on Windows — pays off on a supported Windows host, not on XP. Patches or files that must reach the isolated side travel on removable media staged through a maintained system and scanned before they cross. Decision: the XP PC never touches the internet or the office network, for downloads or for any other reason.
What moves the data out instead? #
A maintained dual-network edge device placed on the machine's isolated segment: one interface reads the XP-side file share or the PLC directly, the other forwards to your broker or historian, and Node-RED runs on that device rather than on XP.
Split the problem: the data has to leave, not a runtime arrive. For files, share the folder from XP read-only, map that share from the edge device across the isolated segment, and let your flows move and forward the files from there. Use the narrowest account XP offers for the share rather than broad guest access, and leave the machine's application untouched.
When you choose the transfer box itself, a fanless industrial mini PC with two Ethernet ports fills the role, and the selection criteria are laid out in Choosing DIN-rail Linux hardware for a Node-RED gateway. Confirm the Linux base before you build the runtime — identify the Linux base before installing Node-RED natively — then follow Install Node-RED Natively on a Linux Edge Computer.
If what you need is live values from the PLC rather than files, skip XP entirely: collect at the PLC from the edge device and forward from there, with the link checks in Edge gateway online but PLC offline: diagnose the link when the PLC will not answer. Decision: Node-RED runs on the edge device in every variant; nothing is installed on the XP PC.
How do you keep the XP machine isolated during the transfer? #
Give the XP PC its own VLAN or physical segment, allow only the ports its share or the PLC protocol needs toward the edge device, and give that segment no route to the office network or the internet.
In practice: the XP PC sits alone on the segment with exactly one permitted peer, the edge device's machine-side interface. On the edge device, disable routing or forwarding between its two interfaces so the machine segment cannot leak toward the office side; the transfer application is the path, not the routing table. Maintenance reaches the machine LAN through a controlled entry from the plant side, the pattern described in How a VPN gateway on a controller routes you to the machine LAN. Updates or files for the XP side go on removable media staged and scanned on a maintained system first.
One safety rule governs the work: never install or reconfigure software on a PC inside a running machine's control chain — the change goes through the machine owner's process, with the machine in a safe state. Decision: one peer, one direction of allowed traffic, no route to anything else.
What do you check before you call the extraction done? #
Treat the first successful copy as a test, not a result: verify that XP reaches only the edge device, that file counts and byte sizes match the source, and that representative files open in the receiving application with the expected date range.
- Probe the boundary, not just the allowed path: from a host on the office side, confirm the XP address answers nothing, and confirm the XP PC cannot reach anything beyond the edge device.
- Compare file counts and byte totals between the source directory and the destination, and chase every difference before touching the source again.
- Open representative files in the receiving application and check their first and last timestamps against the range you expected to capture.
- Confirm filenames and timestamps survived where the receiving process depends on them.
- Keep an untouched copy on the XP side until the receiving system has accepted and validated the data.
- If the extraction will repeat, record what triggers it, where files land, how an error is detected, and who maintains and patches the edge device.
A clean first copy validates the path, not a continuous design; the last section covers the cases where no network design should be built at all.
When do you stop and escalate instead of transferring? #
Stop when the extraction would need software installed on the machine PC, a route from XP to anything beyond the edge device, or a firewall opening into the office network — each trades a production machine's security posture for one dataset and belongs to the machine owner, not a workaround.
The data waits or moves on scanned removable media until one of those changes. Decision per case:
- Files only: dual-network edge device, read-only share from XP, Node-RED on the edge device, the XP PC untouched.
- Live PLC values: the same edge device reads the PLC directly on the machine segment; XP stays out of the data path.
- No isolable segment: leave the XP PC disconnected and pass files on scanned removable media; do not install Node-RED on XP to force a network path.
The long-term fix is the same in every case: retire XP on that machine through a planned migration against the machine maker's compatibility information, not as a shift-side install on a running line.
Questions asked
Will Node-RED run on Windows XP with an unofficial Node.js build?
Community comments in the Node.js issue tracker report unofficial builds launching on XP, but a reported launch is not a supported configuration. Node.js declares a platform unsupported once its vendor ends support, and the claimed builds still fall below every documented Node-RED minimum. Even where one starts, you are running an unpatched runtime on an unpatched operating system.
Can I run an FTP server on the XP PC to pull files instead?
FTP moves files, but it adds another obsolete network service with credentials in the clear to a host that is already impossible to patch. A read-only file share that only the edge device can reach across the isolated segment gives the same file movement with less exposure and fewer services running on the machine PC.
Can I replace Windows XP with Linux on the same machine PC?
Not as a shift-side change. The machine application may depend on XP for drivers, hardware keys or vendor software, and a replacement operating system can break interfaces that keep the line running. Treat the swap as a planned migration against the machine maker's compatibility information, tested offline before it reaches production.
Can the edge device collect live values from the PLC instead of files?
Yes, when the PLC's protocol and interface allow it. The edge device joins the machine-side segment, collects or logs the values there, and forwards them to the plant side. The XP PC stays untouched, which keeps the machine's validated software state intact and removes it from the data path entirely.
Does the edge device route traffic between its two networks?
Configure it so it does not. Forwarding between the machine-side and plant-side interfaces would turn the transfer box into a bridge around the boundary you just built. Restrict forwarding so only the transfer application passes data, and verify from a host on the office side that the XP address answers nothing.