Unable to establish connection with elasticsearch 8.1 (java) – Docker
I have elasticsearch 8.1 running in docker with this docker compose file: version: '3.7' services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.1.0 container_name: es-node environment: - xpack.security.enabled=false - discovery.type=single-node volumes: - ./elastic-data:/usr/share/elasticsearch/data ports: - 9200:9200 cap_add: - IPC_LOCK ulimits: memlock: soft: -1 hard: -1…