Trouble connecting from Windows host after switching to docker-compose

I can no longer connect to my official Elasticsearch container from my Windows host (using VirtualBox) since switching from docker run to docker-compose. Is there an extra step to open port 9200 when using compose? Ports are working for other containers (eg NetData) on the host and I know Elasticsearch is running because I can curl to it from inside other containers.

Here's my pretty standard compose config:

  image: ""
   - "6379:6379"
  environment: "" "" "false"
    ES_JAVA_OPTS: "-Xms512m -Xmx512m"

Here's the docker command that I can connect to on port 9200:

docker run --detach \
  --name elasticsearch \
  --publish 9200:9200 \
  --env "" \
  --env "" \
  --env "" \
  --env "ES_JAVA_OPTS=""-Xms512m -Xmx512m""" \

Edit: Disregard, I got my ES and Redis ports mixed up, oops! If a moderator reads this then please feel free to delete this rather silly question.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.