Search code examples
azuredockernetwork-programmingdocker-swarm

Azure windows container (docker swarm) overlay network can't reach internal IP's


I created a swarm cluster and everything seems to work. I created an overlay network, can attach services to the network and publish port and reach them from outside. I can reach "the internet" too i.e. google.com, however, I can't reach internal IP's, for example host nodes or domain controllers (they are resolved by DNS). If I attach it to the default ingress network I can reach the internal nodes, as well as the internet but can't reach containers on other hosts.


Solution

  • So basically everything works as it's supposed except on the managers that can't route to internal ips from within the containers. Still I don't know why this happens