Short notation of my network setup
A - Fedora23 [ ip 192.168.1.11 ]
B - Ubuntu Docker Container which runs in A [ ip 172.17.0.2 ]
C - Fedora23 (one more system in my network) [ ip 192.168.1.10 ]
firewall is disabled in both A and C.
I have created container using below command
docker run --name development-phase -d -p 5000:80 -v /var/www/public development
note: ubuntu:latest is the parent of development image
I can able to access the container webserver from A
http://192.168.1.11:5000
but I can't able to access from C.
http://192.168.1.11:5000
it is getting redirect to http://172.17.0.2/?SID=iaumi0rm68nlp1qnb5l0rnfdo5
it throws ERR_CONNECTION_TIMED_OUT
but I can able to access the webserver of A http:/192.168.1.11
in running container I can't able to check firewall status, ufw and iptables bash command not found. I think firewall is not a problem otherwise I can't get success in A.
I am new to docker as well as networking area so if you need any additional info please mention in comment.