It seems you are trying to create a TCP/IP connection between containers. I would create an explicit Docker network, attach both containers to it. Then address container via the container name, internal Docker DNS will translate to appropriate IP.
bluepuma77
(Bluepuma77)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Client Server Program each running as a Container Not Able to Communicate with each Other Using POSIX Socket API | 1 | 4278 | October 4, 2016 | |
| Two containers on different machines network issue | 0 | 399 | March 6, 2019 | |
| Query: Network communication among dockers is forbiden by linux server | 7 | 838 | September 11, 2023 | |
| Unix Docker Container not communicative to windows docker container | 0 | 562 | March 29, 2019 | |
| Unix Docker Container not communicative other windows docker container ( network issues) | 0 | 408 | March 28, 2019 |