Docker exposed port don't send data on eth0 - Printable Version +- Hilscher Community Forum (https://forum.hilscher.com) +-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html) +--- Forum: Software (https://forum.hilscher.com/forum-5.html) +--- Thread: Docker exposed port don't send data on eth0 (/thread-741.html) |
Docker exposed port don't send data on eth0 - COswald - July-12th-2021 Hello Armin, I have an issue, that is hard to descript. Base is a NIOT-E-TPI51-EN-RE. Eth0 is configured as DHCP and working, I can connect to the Portainer and Control Panel from the outer netwerk to this IP-Address On this box Docker is enabled First Container is a hilschernetpi/netpi-netx-ethernet-lan image, which enables the cifx0 as 'normal' Ethernet-Port. cifx0 is configured as - IP-Address: 192.168.1.1 - SUBNET: 255.255.255.0 - Gateway: 192.168.1.1 - DNS: 9.9.9.9 In the Docker a second Container which if from image hilschernetpi/netpi-raspbian is running a node script to build a OPC UA server. This Container exposes the following ports remote 2222: local 22 --> SSH remote 4334: local4334 --> opc.tcp I can access the SSH port of the second container (2222) from eth0 and cifx0 without any problems opc.tcp (4334) is available from cifx0, but if I try to connect from eth0 I cannot get a connection. A ping on that port is working, but i don't get data. Firewall settings eth0: NAT-Trusted cifx0: Trusted (default) Routes: - no routes defined - I do not see the error, but I'm sure it is just in front of my eyes. Can you give me a hint? Kind regards, Carsten RE: Docker exposed port don't send data on eth0 - Armin@netPI - July-12th-2021 Well Carsten, have you analyzed the telegrams on eth0 side with wireshark? Do you see your opc.tcp telegrams coming to eth0 and what are the responses of netPI on these requests? Doesn't it answer at all to these requests, or with a reply error or anything? This is the first thing I would try. All the rest I have in mind is just speculation. Regards Armin Armin RE: Docker exposed port don't send data on eth0 - COswald - July-15th-2021 Hello Armin, it was a old known opponent: hilschernetpi/netpi-netx-ethernet-lan:latest after I took: hilschernetpi/netpi-netx-ethernet-lan:1.1.1 everything is fine. But, this time, the boc has the actual firmware: NIOT-E-TPI51-EN-RE | V1.2.2.0 I don't know why, but on my boxes, an newer version of the cifx-enabler does not work. Kind regards, Carsten RE: Docker exposed port don't send data on eth0 - Armin@netPI - July-15th-2021 Well the container hilschernetpi/netpi-netx-ethernet-lan:xxx writes to a log file during startup. Maybe we can get out some informations why hilschernetpi/netpi-netx-ethernet-lan:xxx containers > version 1.1.1 do not run on your devices. The log file by the way you can watch yourself in the Docker management web tool in the containers overiew list using the icon "logs" as one of the 4 available icons per container. Thx Armin |