I'm new in Docker world, and i have an issue. First i have a Google Compute Engine instance listening on ports 8080 and 4444, i can browse from my host and i see html code.
Now i have a Google Container Engine with docker, and when i go into docker container and run curl command i have a different behavior.
When i run:
curl ipaddr:8080
Everything is working, i can see html code in my command line.
But when i run:
curl ipaddr:4444
It takes so much time and finally timeout.
This is only in the docker container. If i try from other machine, both 8080 and 4444 works fine.
Sorry if i dont explain very good, ask me what you want!
Thank you!
Resolved:
Sorry for all who take time for this question.
Now I know more about Google Container Engine and Docker.
I was running docker container from Google Cloud Shell of my project, not from GCE Cluster Instance... And Google Cloud Shell outgoing connections can only be made to the following TCP ports: 20, 21, 22, 80, 443, 2375, 2376, 3306, 8080, 9600, and 50051.
Here is the Google Cloud Shell Limitations: https://cloud.google.com/shell/docs/limitations
Thank you all!