Communication between 2 Containers and another System

I have the setup as shown in the above image. In the System 1, I have created the containers with Option net=host, and when I am running a Single Container with the above architecture, then I am getting accurate output. But when I am running both the containers at the same instance, then both the containers are not getting proper data so I am unable to achieve the proper results. So, requesting help in this regards