Hello,
I am trying to receive XML response data back from a Printer over TCP connection.
I am able to connect to the printer and successfully send XML commands using the TCP Out node at 192.168.1.105 port 9900. I can see the XML data being sent and the XML response from the Printer using Wireshark, but the TCP IN node never shows anything incoming.
I should have the TCP In node set to Listen On port 9900 correct?
I setup a test TCP response flow in Node-Red on a separate computer and the Raspberry Pi received the response.
I tried setting up tcpdump to relay all traffic coming from 192.168.1.105 to localhost port 9901 and setup a TCP In node listening to port 9901. This doesn't seem to work very well because there is a long delay (30 seconds or more) and it doesn't seem to capture all incoming data.
Any suggestions or ideas are greatly appreciated!!
Running Node-Red version 3.1.9 on Raspberry Pi 4
Operating System: Debian GNU/Linux 12 (bookworm)
Kernel: Linux 6.6.20+rpt-rpi-v8
Node-Red flow
Wireshark screenshots: