Troubleshooting
Node-RED ControlLogix offline: TCP timeout after ping works
Short answer
The logged TCP connection timeout means Node-RED never completed the TCP session to the controller on port 44818, and ping success proves nothing about that session. Test the TCP connection from the Node-RED host, check host firewall and network ACLs, then controller connection limits — and leave tag names alone until TCP connects.

On this page
When your Node-RED connection node to a ControlLogix shows Offline, ping to the PLC succeeds, and the debug pane logs an error saying a TIMEOUT occurred while attempting to establish a TCP connection with the controller, the EtherNet/IP session on TCP port 44818 never opened. Ping proves ICMP reachability only. Work from the Node-RED PC outward: test the TCP connection itself, check the host firewall and network path, then controller-side connection availability. Do not touch tag names yet — a missing tag fails requests only after a connection opens.
Read the error stage before anything else #
The logged timeout names the exact stage: TCP connection establishment. That rules out an entire class of causes and points at another. Use the observation table to pick your next check.
| Observation | What it points to |
|---|---|
| Ping succeeds, node logs a TCP connection timeout | IP routing works for ICMP; the TCP session on port 44818 is not completing. Check filtering, the path, and controller connection availability. |
| Connection opens, then reads or writes fail | Tag names, scope, data types or access. That is a later stage than your error. |
| PLC still controls the process | The control task runs; that says nothing about whether an external CIP session can be accepted. |
Because Node-RED and the PLC have both already been restarted, repeating either step adds nothing. Restarts clear a stuck runtime; they do not change a firewall rule, a VLAN or routing change, or a controller at its connection limit.
Why ping passing proves nothing here #
Ping sends ICMP echo requests. EtherNet/IP communication opens a TCP connection to the controller on port 44818, then registers a CIP session on it. A host firewall, endpoint security, a network ACL, a routing or VLAN change, an unresponsive listener, or a controller that cannot accept another connection all leave ping working while that TCP handshake never completes. This is the same distinction that separates a generic gateway-online-but-PLC-offline state: when an edge gateway is online but the PLC is offline, the link state alone never identifies which stage failed.
A related trap: another package on the same PC can hold port 44818. FactoryTalk Linx and similar drivers bind to that port, and when another driver is bound to it, explicit messaging from a second client can fail. Check what else runs on the Node-RED host before blaming the network.
Test the TCP connection from the Node-RED PC #
Run the test from the same PC that runs Node-RED, against the controller address configured in the node, for example 192.168.1.20.
- Open a TCP test to the controller on port 44818 — for example, in PowerShell on a Windows host:
Test-NetConnection 192.168.1.20 -Port 44818. ATcpTestSucceeded : Trueresult means the handshake completes and the problem is above TCP, in the node configuration or package. - If the test fails, read the host firewall and endpoint-security logs at the failure time. Look for a blocked outbound rule to the controller address.
- Ask the network administrator to check ACLs, VLAN membership and routing along the PC-to-PLC path, and whether anything changed on the network today. A connection that ran for a month and then died with no PLC change points at the network or the host, not the controller project.
- If another authorized client is available on the same segment, have it attempt a session. If it also fails, the shared path or the controller is the suspect; if only the Node-RED host fails, focus on that host.
Do not disable security controls broadly to test a theory. Have the administrator verify or add a narrowly scoped rule for the one connection required.
Check controller connection availability #
If the TCP test fails from more than one client, look at the controller. A ControlLogix has a limited number of CIP connections; when HMI clients, programming workstations and other drivers consume them, a new session request is refused or ignored even though the controller runs normally. Open the controller's diagnostics and connection statistics (in the programming software or the controller's web page) and check:
- the count of active connections against the controller's supported maximum,
- whether a new client, a second HMI, or an additional polling instance connected recently,
- whether old sessions from retired clients are still holding connections after a network change,
and whether another driver instance on some PC is holding sessions it no longer needs. Free or restart the offending client rather than power-cycling the running PLC again. The same failure stage explains why node-red-contrib-cip EtherNet/IP fails with a Mitsubishi FX5U: the session request is a different animal from the tag request that follows it.
Only then look at tags #
Once the node reports the connection established, verify each requested tag against the controller project: spelling, program or controller scope, data type, and read versus write access. A wrong tag name produces a request error in the node's output, not a connection timeout. Change one item at a time and retest, and watch for repeated disconnects over normal operation — a brief successful connection does not prove the underlying limit or network issue is resolved.
The decision for each case #
- TCP test to port 44818 fails from the Node-RED PC and from a second client: controller-side — check the connection count and diagnostics, and stop excess clients.
- TCP test fails only from the Node-RED PC: host-side — firewall or endpoint security rule, or something else on that PC bound to 44818; let the administrator scope one rule.
- TCP test succeeds but the node still times out: the node configuration or the installed EtherNet/IP package on that host — compare the configured address and port with the test, and read the Node-RED runtime log for package or deployment changes.
- Connection opens and reads fail: tags — names, scope and types, in that order.
Questions asked
What port does Node-RED use to reach a ControlLogix over EtherNet/IP?
EtherNet/IP uses TCP port 44818 for the CIP session. A ping does not touch that port, so test a TCP connection to 44818 from the Node-RED PC to separate an ICMP path that works from a blocked or unavailable TCP session.
Can a missing tag cause the TCP connection timeout?
No. A missing or misnamed tag fails a request after the session is open; the timeout you logged happens before any tag is addressed. Check tag names, scope and data type only after the node shows the connection established and individual reads still fail.
Why do restarts not fix this?
Restarts clear a stuck runtime or controller, but they do not change a firewall rule, a routing or VLAN change, or a controller at its connection limit. Since Node-RED and the PLC were already restarted, spend the next step on a measured TCP test and the logs instead of repeating them.
Another client can still connect to the same PLC. What does that tell me?
The controller accepts sessions and the shared network path works, so focus on the Node-RED host: its host firewall or endpoint security, its own configuration, and any change to the Node-RED runtime or the installed EtherNet/IP package.


