Starting out with docker-compose

Hi,

I am new to docker and I do experiment with docker-compose. However I encountered the following error which I do not understand. See here: http://stackoverflow.com/questions/33676729/kafka-zookeeper-docker-no-connection?noredirect=1 I cannot reach the ports of the machines. However this does work for other containers. Am I using docker-compose wrong?

Thank you.