Docker Community Forums

Share and learn in the Docker community.

Cannot connect to containers from Windows 10 host or other containers

I am running Apache ActiveMQ Linux container and several Windows containers on a Windows 10 host. The containers are running and respond to ping, but I cannot access ActiveMQ web interface:

curl http://172.18.163.8:8161
curl: (7) Failed to connect to 172.18.163.8 port 8161: Connection refused

Same for running curl in containers or on the host. Same for opening it in browser.

However, ActiveMQ is accessible from machines other than the host. When I connect to 8161 port from another machine, I correctly get the ActiveMQ web interface.

What’s wrong?

P.S. Disabling Windows Firewall on the host did not help.

P.P.S. https://github.com/docker/for-win/issues/3214

Any workarounds?

Is this resolved? I have installed docker on my windows 10 machine and I see same problems connecting to apps installed on docker. I tried a spring boot app, postgres db.