I am trying to run a simple client-server program with client and server each in different containers.
On running the server container it gives a port and IP(always localhost i.e 0.0.0.0)
When i try to provide the same port and IP while running the client container the socket connection fails.
I have tried following
- Running individual programs - It works
- On server in a container and client in shell - It doesn’t work
- Both on the container - It doesn’t work.