Elasticsearch and Neo4j in Docker containers don't work together

I’m struggling with this issue a few days… Elasticsearch for a some reason don’t work with Neo4j in Docker containers… But for example MongoDB works with ES with no any issues… Do you have and idea what could be the reason for this ?

https://stackoverflow.com/questions/45344128/docker-maven-plugin-with-2-images-neo4j-and-elasticsearch-docker-containers-do