I’m running Docker with hyper-v under Windows. I’m using docker-compose to run services. And I don’t know, how can I access a service from both worlds - from another container and from windows host - through the same IP/port. Is that possible? It is possible on Mac and on Linux, but I cannot figure out, how to make it work with hyper-v.
Please see the picture. http://s3.postimg.org/qnms3hrib/docker.png
I can connect to the Service1 from my windows host through the mapped port (green), but not from another container (red). Why the port is not accessible? Is it possible to make it accessible?
Or any other solution how to access a service from both worlds through the same IP/port?