-
Notifications
You must be signed in to change notification settings - Fork 382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no communication between docker containers #105
Comments
Could you use Vagrantfile to reproduce this issue? Post your patch here. |
Here is the output of vagrant up for me. |
It seems okay. You can run command Inside the master node, find the IP Address of container Use command Inside
You can modify |
yes. Curl seems to be working fine inside local_webapp. I'm not sure you mean by Just to be clear: in my case, I don't want dockerB to be fully public (open to the external world). Just to be accessible from the other dockers.
|
If you can use Vagrantfile to reproduce your issue, then I can also find the problem inside the VM by just using command In the current Vagrant VM, we can also access |
Nevermind. Actually, I am connecting from one docker to the other via the host gateway, and not directly. I was able to allow those connections with Thank you for the help and pointers, and sorry for the confusion. Feel free to close the issue. |
You're welcome |
Thanks @arenevier! How else could containers talk to the host? Glad I'm came across your answer. |
I also had this problem, you can't send request from a container to another container inside the same host.
Can we add this to the installer?! |
so when use route ,and sometime not use route ,confuse me |
Hi,
I have ufw installed with no extra configuration. I tried to follow the instructions. According to https://github.com/chaifeng/ufw-docker/#how-it-works,
my understanding is that docker containers should be able to communicate with access each other.
I have dockerA which contains a reverse proxy from to another service running in dockerB. When dockerA tries to connect to dockerB, the connection is blocked.
Logs show:
The text was updated successfully, but these errors were encountered: