Docker compose not exposing port for application container -


i have exposed port 80 in application container's dockerfile.yml mapping "80:80" in docker-compose.yml "connection refused" after "docker-compose up" , try http on port 80 on docker-machine's ip address. docker hub provided rethinkdb instance's admin panel gets mapped fine through same dockerfile.yml ("expose 8080") , docker-compose.yml (ports "8080:8080") , when start application on local development machine port 80 gets exposed expected.

what going wrong here? grateful quick insight more docker experience!

so in case, service containers both bound localhost (127.0.0.1) , therefore seemingly exposed ports never picked via docker-compose port mapping. configured services bind 0.0.0.0 respectively , works flawlessly. thank @creack pointing me in right direction.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -