Unable to connect to 9200 port to running Elastic Search service

I am having a CI pipeline which base on my docker image. I am introducing elastic search service to it, so I am installing it in a docker image, later on when container is running I am starting elastic search service. When I am doing it through docker on my local computer service is up and running and I am able to connect to it (host is set to and port to 9200 in configuration). Unfortunately when I am running job locally using “circleci local execute --job” service is launched and running, but I am not able to connect to it using “curl -XGET ‘’”, also “netstat -lntp” is not showing that something is listening on this port.
Are there any limitations?