Docker Modbus TCP

To communicate with Modbus TCP devices, is it necessary to expose port 502 to docker container?

No, you shouldn’t need to expose/publish anything to make the outbound 502/tcp connections.

1 Like