<p>The issue was the docker container was never running in secure mode:</p>
<p>Changing the docker-compose to this fixed the problem :</p>
<pre><code>...
- EVENTSTORE_INSECURE=true
- EVENTSTORE_DISABLE_INTERNAL_TCP_TLS=true
- EVENTSTORE_DISABLE_EXTERNAL_TCP_TLS=true
...
</code></pre>

CC BY-SA 4.0
2024-01-18T20:25:54.580Z
2024-01-18T20:25:54.580Z
WynDiesel
<p>Why do you need to create your own image?</p>
<p>Try this docker-compose.yml:</p>
<pre><code>version: &quot;3.4&quot;

services:
  eventstore.db:
    image: eventstore/eventstore:23.10.0-bookworm-slim
    environment:
      - EVENTSTORE_CLUSTER_SIZE=1
      - EVENTSTORE_RUN_PROJECTIONS=All
      - EVENTSTORE_START_STANDARD_PROJECTIONS=true
      - EVENTSTORE_EXT_TCP_PORT=1113
      - EVENTSTORE_HTTP_PORT=2113
      - EVENTSTORE_INSECURE=true
      - EVENTSTORE_ENABLE_EXTERNAL_TCP=true
      - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
    ports:
      - &quot;1113:1113&quot;
      - &quot;2113:2113&quot;
    volumes:
      - type: volume
        source: eventstore-volume-data
        target: /var/lib/eventstore
      - type: volume
        source: eventstore-volume-logs
        target: /var/log/eventstore

volumes:
  eventstore-volume-data:
  eventstore-volume-logs:
</code></pre>

CC BY-SA 4.0
2024-01-18T10:16:58.567Z
I have dependencies that are not compatible with the latest ES. I need to stick to 5.0.10
WynDiesel
CC BY-SA 4.0
2024-01-18T12:20:10.570Z
Ok.
In your docker-compose.yml you are using eventstore/eventstore:release-v5 image and not your custom eventstore_5.0.10:latest.
Andrey
CC BY-SA 4.0
2024-01-17T15:57:41.547Z
2024-01-17T15:57:41.547Z
Andrey
<p>This is my first attempt at setting up docker containers. I've managed to create a SQL Server container that I can connect to, but I've been struggling for more than a month to get my EventStore connected.</p>
<p>The site only provides instructions for a Linux image, so I had to create my own. I downloaded Eventstore, and created my image with this command :</p>
<p><code>docker build -t eventstore_5.0.10:latest .</code></p>
<p>I then created docker-compose.yaml with this configuration :</p>
<pre><code>version: '3.4'

services:
  eventstore.db:
    image: eventstore/eventstore:release-v5
    environment:
      - EVENTSTORE_CLUSTER_SIZE=1
      - EVENTSTORE_RUN_PROJECTIONS=All
      - EVENTSTORE_START_STANDARD_PROJECTIONS=True
      - EVENTSTORE_DB=/var/lib/eventstore-data
      - EVENTSTORE_INDEX=/var/lib/eventstore-index
      - EVENTSTORE_LOG=/var/log/eventstore
      - EVENTSTORE_EXT_TCP_PORT=1113
      - EVENTSTORE_EXT_HTTP_PORT=2113
    ports:
      - &quot;1113:1113&quot;
      - &quot;2113:2113&quot;
    volumes:
      - type: volume
        source: eventstore-volume-data
        target: /var/lib/eventstore-data
      - type: volume
        source: eventstore-volume-index
        target: /var/lib/eventstore-index
      - type: volume
        source: eventstore-volume-logs
        target: /var/log/eventstore

volumes:
  eventstore-volume-data:
  eventstore-volume-index:
  eventstore-volume-logs:
</code></pre>
<p>When I spin up the container, EventStore starts up fine :</p>
<pre><code>[01288,01,07:43:33.783]
2024-01-15 09:43:33 &quot;ES VERSION:&quot;             &quot;5.0.10.0&quot; (&quot;oss-v5.0.10&quot;/&quot;6b9af2bc4fcd85c12c01fb115110ff6ccc5d3bfd&quot;, &quot;Thu, 11 Mar 2021 14:39:
2024-01-15 09:43:33 08 +0100&quot;)
2024-01-15 09:43:33 MODIFIED OPTIONS:
2024-01-15 09:43:33 
2024-01-15 09:43:33         EXT HTTP PORT:            2114 (Command Line)
2024-01-15 09:43:33         EXT TCP PORT:             1114 (Command Line)
2024-01-15 09:43:33 
2024-01-15 09:43:33 DEFAULT OPTIONS:
2024-01-15 09:43:33 
2024-01-15 09:43:33         HELP:                     False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         VERSION:                  False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         LOG:                      C:\EventStore\logs (&lt;DEFAULT&gt;) 
2024-01-15 09:43:33         CONFIG:                   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         DEFINES:                  &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         WHAT IF:                  False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         START STANDARD PROJECTIONS: False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         DISABLE HTTP CACHING:     False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         MONO MIN THREADPOOL SIZE: 10 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT IP:                   127.0.0.1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT IP:                   127.0.0.1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT HTTP PORT:            2112 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT TCP PORT:             1112 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT SECURE TCP PORT:      0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT SECURE TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT SECURE TCP PORT:      0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT IP ADVERTISE AS:      &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT HTTP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT IP ADVERTISE AS:      &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT SECURE TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT HTTP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT TCP HEARTBEAT TIMEOUT: 700 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT TCP HEARTBEAT TIMEOUT: 1000 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT TCP HEARTBEAT INTERVAL: 700 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT TCP HEARTBEAT INTERVAL: 2000 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         GOSSIP ON SINGLE NODE:    False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CONNECTION PENDING SEND BYTES THRESHOLD: 10485760 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CONNECTION QUEUE SIZE THRESHOLD: 50000 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         STREAM INFO CACHE CAPACITY: 100000 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         FORCE:                    False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CLUSTER SIZE:             1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         NODE PRIORITY:            0 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         MIN FLUSH DELAY MS:       2 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         COMMIT COUNT:             -1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         PREPARE COUNT:            -1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         ADMIN ON EXT:             True (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         STATS ON EXT:             True (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         GOSSIP ON EXT:            True (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         DISABLE SCAVENGE MERGING: False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         SCAVENGE HISTORY MAX AGE: 30 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         DISCOVER VIA DNS:         True (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CLUSTER DNS:              fake.dns (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CLUSTER GOSSIP PORT:      30777 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         GOSSIP SEED:              &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         STATS PERIOD SEC:         30 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CACHED CHUNKS:            -1 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         READER THREADS COUNT:     4 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CHUNKS CACHE SIZE:        536871424 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         MAX MEM TABLE SIZE:       1000000 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         HASH COLLISION READ LIMIT: 100 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         DB:                       C:\EventStore\data (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INDEX:                    &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         MEM DB:                   False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         SKIP DB VERIFY:           False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         WRITE THROUGH:            False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         UNBUFFERED:               False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CHUNK INITIAL READER COUNT: 5 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         RUN PROJECTIONS:          None (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         PROJECTION THREADS:       3 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         WORKER THREADS:           5 (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         PROJECTIONS QUERY EXPIRY: 5 (&lt;DEFAULT&gt;)
&quot;024-01-15 09:43:33         FAULT OUT OF ORDER PROJECTIONS: False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         INT HTTP PREFIXES:        &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         EXT HTTP PREFIXES:        &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         ENABLE TRUSTED AUTH:      False (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         ADD INTERFACE PREFIXES:   True (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE STORE LOCATION: &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE STORE NAME:   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE SUBJECT NAME: &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE THUMBPRINT:   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE FILE:         &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:43:33         CERTIFICATE PASSWORD:     &lt;empty&gt; (&lt;DEFAULT&gt;)
[01284,01,07:45:54.938]
2024-01-15 09:45:55 &quot;ES VERSION:&quot;             &quot;5.0.10.0&quot; (&quot;oss-v5.0.10&quot;/&quot;6b9af2bc4fcd85c12c01fb115110ff6ccc5d3bfd&quot;, &quot;Thu, 11 Mar 2021 14:39:
2024-01-15 09:45:55 08 +0100&quot;)
2024-01-15 09:45:55 MODIFIED OPTIONS:
2024-01-15 09:45:55 
2024-01-15 09:45:55         EXT HTTP PORT:            2114 (Command Line)
2024-01-15 09:45:55         EXT TCP PORT:             1114 (Command Line)
2024-01-15 09:45:55 
2024-01-15 09:45:55 DEFAULT OPTIONS:
2024-01-15 09:45:55 
2024-01-15 09:45:55         HELP:                     False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         VERSION:                  False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         LOG:                      C:\EventStore\logs (&lt;DEFAULT&gt;) 
2024-01-15 09:45:55         CONFIG:                   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DEFINES:                  &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         WHAT IF:                  False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         START STANDARD PROJECTIONS: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DISABLE HTTP CACHING:     False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         MONO MIN THREADPOOL SIZE: 10 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT IP:                   127.0.0.1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT IP:                   127.0.0.1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT HTTP PORT:            2112 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT TCP PORT:             1112 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT SECURE TCP PORT:      0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT SECURE TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT SECURE TCP PORT:      0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT IP ADVERTISE AS:      &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT HTTP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT IP ADVERTISE AS:      &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT SECURE TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT TCP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT HTTP PORT ADVERTISE AS: 0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT TCP HEARTBEAT TIMEOUT: 700 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT TCP HEARTBEAT TIMEOUT: 1000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT TCP HEARTBEAT INTERVAL: 700 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT TCP HEARTBEAT INTERVAL: 2000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP ON SINGLE NODE:    False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CONNECTION PENDING SEND BYTES THRESHOLD: 10485760 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CONNECTION QUEUE SIZE THRESHOLD: 50000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         STREAM INFO CACHE CAPACITY: 100000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         FORCE:                    False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CLUSTER SIZE:             1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         NODE PRIORITY:            0 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         MIN FLUSH DELAY MS:       2 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         COMMIT COUNT:             -1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         PREPARE COUNT:            -1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         ADMIN ON EXT:             True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         STATS ON EXT:             True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP ON EXT:            True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DISABLE SCAVENGE MERGING: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         SCAVENGE HISTORY MAX AGE: 30 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DISCOVER VIA DNS:         True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CLUSTER DNS:              fake.dns (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CLUSTER GOSSIP PORT:      30777 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP SEED:              &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         STATS PERIOD SEC:         30 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CACHED CHUNKS:            -1 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         READER THREADS COUNT:     4 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CHUNKS CACHE SIZE:        536871424 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         MAX MEM TABLE SIZE:       1000000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         HASH COLLISION READ LIMIT: 100 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DB:                       C:\EventStore\data (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INDEX:                    &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         MEM DB:                   False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         SKIP DB VERIFY:           False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         WRITE THROUGH:            False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         UNBUFFERED:               False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CHUNK INITIAL READER COUNT: 5 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         RUN PROJECTIONS:          None (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         PROJECTION THREADS:       3 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         WORKER THREADS:           5 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         PROJECTIONS QUERY EXPIRY: 5 (&lt;DEFAULT&gt;)
i024-01-15 09:45:55         FAULT OUT OF ORDER PROJECTIONS: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INT HTTP PREFIXES:        &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         EXT HTTP PREFIXES:        &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         ENABLE TRUSTED AUTH:      False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         ADD INTERFACE PREFIXES:   True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE STORE LOCATION: &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE STORE NAME:   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE SUBJECT NAME: &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE THUMBPRINT:   &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE FILE:         &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         CERTIFICATE PASSWORD:     &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         USE INTERNAL SSL:         False (&lt;DEFAULT&gt;)
[024-01-15 09:45:55         DISABLE INSECURE TCP:     False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         SSL TARGET HOST:          n/a (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         SSL VALIDATE SERVER:      True (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         AUTHENTICATION TYPE:      internal (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         AUTHENTICATION CONFIG:    &lt;empty&gt; (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         DISABLE FIRST LEVEL HTTP AUTHORIZATION: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         PREPARE TIMEOUT MS:       2000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         COMMIT TIMEOUT MS:        2000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         UNSAFE DISABLE FLUSH TO DISK: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         BETTER ORDERING:          False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         UNSAFE IGNORE HARD DELETE: False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         SKIP INDEX VERIFY:        False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         INDEX CACHE DEPTH:        16 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         OPTIMIZE INDEX MERGE:     False (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP INTERVAL MS:       1000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP ALLOWED DIFFERENCE MS: 60000 (&lt;DEFAULT&gt;)
2024-01-15 09:45:55         GOSSIP TIMEOUT MS:        500 (&lt;DEFAULT&gt;)
[01284,01,07:45:55.891] Opened ongoing &quot;C:\EventStore\data\chunk-000000.000000&quot; as version 3 &quot;0&quot;,&quot;IntHttpPortAdvertiseAs
[01284,01,07:45:55.906] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.0047455. 
[01284,01,07:45:56.208] Starting MiniWeb for &quot;/web/es/js/projections&quot; ==&gt; &quot;C:\EventStore\projections&quot; 
[01284,01,07:45:56.208] Starting MiniWeb for &quot;/web/es/js/projections/v8/Prelude&quot; ==&gt; &quot;C:\EventStore\Prelude&quot; 
2024-01-15 09:45:56 [01284,01,07:45:56.224] Starting MiniWeb for &quot;/web&quot; ==&gt; &quot;C:\EventStore\clusternode-web&quot;
2024-01-15 09:45:56 [01284,01,07:45:56.224] Binding MiniWeb to &quot;/web/{*remaining_path}&quot;
2024-01-15 09:45:56 [01284,10,07:45:56.224] ========== [127.0.0.1:2112] SYSTEM INIT...
[01284,11,07:45:56.224] TableIndex initialization... 
2024-01-15 09:45:56 [01284,10,07:45:56.239] Starting &quot;Normal&quot; TCP listening on TCP endpoint: 127.0.0.1:1114.
[01284,11,07:45:56.255] ReadIndex building... 
[01284,10,07:45:56.271] Starting HTTP server on [&quot;http://localhost:2114/,http://127.0.0.1:2114/&quot;]... 
2024-01-15 09:45:56 df60f5a835d}](L=2413,W=18903,C=18903,E3@2191:{5d193532-91ce-4d8f-8fc2-5fd0fb67c25a})&quot;.
[01284,06,07:49:45.474] Segments count: 1, buffers count: 20, should be when full: 20 TE, WAITING FOR CHASER TO CATCH UP...
2024-01-15 09:45:56 [01284,10,07:45:56.333] ========== [127.0.0.1:2112] IS MASTER... SPARTA!
2024-01-15 09:45:56 [01284,05,07:45:56.333] Persistent subscriptions received state change to PreMaster. Stopping listening
2024-01-15 09:45:56 [01284,10,07:45:56.333] Searching for incomplete scavenges on node &quot;127.0.0.1:2114&quot;.
2024-01-15 09:45:56 [01284,05,07:45:56.333] Persistent subscriptions Became Master so now handling subscriptions
[01284,08,07:45:56.364] === Writing E4@18903:{e90dcaee-48f5-4147-a3c7-f51867b47158} (previous epoch at 2191). 
2024-01-15 09:45:56 [01284,10,07:45:56.364] Max age and $ops read permission already set for the &quot;$scavenges&quot; stream.
2024-01-15 09:45:56 [01284,10,07:45:56.364] No incomplete scavenges found on node &quot;127.0.0.1:2114&quot;.
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Starting Projections Core Coordinator. (Node State : Master)
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Starting Projections Manager. (Node State : Master)
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Resetting Worker Writer
2024-01-15 09:45:56 [01284,10,07:45:56.364] ========== [127.0.0.1:2112] Sub System '&quot;Projections&quot;' initialized.
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: SubComponent Started: &quot;EventReaderCoreService&quot;
2024-01-15 09:45:56 [01284,08,07:45:56.364] === Update Last Epoch E4@18903:{e90dcaee-48f5-4147-a3c7-f51867b47158} (previous epoch at 2191). 
[01284,05,07:45:56.896] Created stats stream '&quot;$stats-127.0.0.1:2114&quot;', code = WrongExpectedVersion 
</code></pre>
<p>My network section of the inspect :</p>
<pre><code>{
    &quot;Id&quot;: &quot;ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922&quot;,
    &quot;Created&quot;: &quot;2024-01-15T07:43:19.5805765Z&quot;,
    &quot;Path&quot;: &quot;EventStore.ClusterNode.exe&quot;,
    &quot;Args&quot;: [
        &quot;--ext-http-port&quot;,
        &quot;2114&quot;,
        &quot;--ext-tcp-port&quot;,
        &quot;1114&quot;
    ],
    &quot;State&quot;: {
        &quot;Status&quot;: &quot;running&quot;,
        &quot;Running&quot;: true,
        &quot;Paused&quot;: false,
        &quot;Restarting&quot;: false,
        &quot;OOMKilled&quot;: false,
        &quot;Dead&quot;: false,
        &quot;Pid&quot;: 1284,
        &quot;ExitCode&quot;: 0,
        &quot;Error&quot;: &quot;&quot;,
        &quot;StartedAt&quot;: &quot;2024-01-15T07:45:53.7466139Z&quot;,
        &quot;FinishedAt&quot;: &quot;2024-01-15T09:44:33.5226551+02:00&quot;
    },
    &quot;Image&quot;: &quot;sha256:c31ae93c602f572270469ed1e09e0f391d6b95147498d617f2fb46230a922ee1&quot;,
    &quot;ResolvConfPath&quot;: &quot;&quot;,
    &quot;HostnamePath&quot;: &quot;&quot;,
    &quot;HostsPath&quot;: &quot;&quot;,
    &quot;LogPath&quot;: &quot;C:\\ProgramData\\Docker\\containers\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922-json.log&quot;,
    &quot;Name&quot;: &quot;/eventstore-node&quot;,
    &quot;RestartCount&quot;: 0,
    &quot;Driver&quot;: &quot;windowsfilter&quot;,
    &quot;Platform&quot;: &quot;windows&quot;,
    &quot;MountLabel&quot;: &quot;&quot;,
    &quot;ProcessLabel&quot;: &quot;&quot;,
    &quot;AppArmorProfile&quot;: &quot;&quot;,
    &quot;ExecIDs&quot;: [
        &quot;2c31d86df3bab58cee2594e3897f744d81e1a208c82c0f2b673a7e7a88269a4d&quot;
    ],
    &quot;HostConfig&quot;: {
        &quot;Binds&quot;: null,
        &quot;ContainerIDFile&quot;: &quot;&quot;,
        &quot;LogConfig&quot;: {
            &quot;Type&quot;: &quot;json-file&quot;,
            &quot;Config&quot;: {}
        },
        &quot;NetworkMode&quot;: &quot;default&quot;,
        &quot;PortBindings&quot;: {
            &quot;1113/tcp&quot;: [
                {
                    &quot;HostIp&quot;: &quot;&quot;,
                    &quot;HostPort&quot;: &quot;1113&quot;
                }
            ],
            &quot;2113/tcp&quot;: [
                {
                    &quot;HostIp&quot;: &quot;&quot;,
                    &quot;HostPort&quot;: &quot;2113&quot;
                }
            ]
        },
        &quot;RestartPolicy&quot;: {
            &quot;Name&quot;: &quot;no&quot;,
            &quot;MaximumRetryCount&quot;: 0
        },
        &quot;AutoRemove&quot;: false,
        &quot;VolumeDriver&quot;: &quot;&quot;,
        &quot;VolumesFrom&quot;: null,
        &quot;ConsoleSize&quot;: [
            30,
            120
        ],
        &quot;CapAdd&quot;: null,
        &quot;CapDrop&quot;: null,
        &quot;CgroupnsMode&quot;: &quot;&quot;,
        &quot;Dns&quot;: [],
        &quot;DnsOptions&quot;: [],
        &quot;DnsSearch&quot;: [],
        &quot;ExtraHosts&quot;: null,
        &quot;GroupAdd&quot;: null,
        &quot;IpcMode&quot;: &quot;&quot;,
        &quot;Cgroup&quot;: &quot;&quot;,
        &quot;Links&quot;: null,
        &quot;OomScoreAdj&quot;: 0,
        &quot;PidMode&quot;: &quot;&quot;,
        &quot;Privileged&quot;: false,
        &quot;PublishAllPorts&quot;: false,
        &quot;ReadonlyRootfs&quot;: false,
        &quot;SecurityOpt&quot;: null,
        &quot;UTSMode&quot;: &quot;&quot;,
        &quot;UsernsMode&quot;: &quot;&quot;,
        &quot;ShmSize&quot;: 0,
        &quot;Isolation&quot;: &quot;hyperv&quot;,
        &quot;CpuShares&quot;: 0,
        &quot;Memory&quot;: 0,
        &quot;NanoCpus&quot;: 0,
        &quot;CgroupParent&quot;: &quot;&quot;,
        &quot;BlkioWeight&quot;: 0,
        &quot;BlkioWeightDevice&quot;: [],
        &quot;BlkioDeviceReadBps&quot;: [],
        &quot;BlkioDeviceWriteBps&quot;: [],
        &quot;BlkioDeviceReadIOps&quot;: [],
        &quot;BlkioDeviceWriteIOps&quot;: [],
        &quot;CpuPeriod&quot;: 0,
        &quot;CpuQuota&quot;: 0,
        &quot;CpuRealtimePeriod&quot;: 0,
        &quot;CpuRealtimeRuntime&quot;: 0,
        &quot;CpusetCpus&quot;: &quot;&quot;,
        &quot;CpusetMems&quot;: &quot;&quot;,
        &quot;Devices&quot;: [],
        &quot;DeviceCgroupRules&quot;: null,
        &quot;DeviceRequests&quot;: null,
        &quot;MemoryReservation&quot;: 0,
        &quot;MemorySwap&quot;: 0,
        &quot;MemorySwappiness&quot;: null,
        &quot;OomKillDisable&quot;: false,
        &quot;PidsLimit&quot;: null,
        &quot;Ulimits&quot;: null,
        &quot;CpuCount&quot;: 0,
        &quot;CpuPercent&quot;: 0,
        &quot;IOMaximumIOps&quot;: 0,
        &quot;IOMaximumBandwidth&quot;: 0,
        &quot;MaskedPaths&quot;: null,
        &quot;ReadonlyPaths&quot;: null
    },
    &quot;GraphDriver&quot;: {
        &quot;Data&quot;: {
            &quot;dir&quot;: &quot;C:\\ProgramData\\Docker\\windowsfilter\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922&quot;
        },
        &quot;Name&quot;: &quot;windowsfilter&quot;
    },
    &quot;Mounts&quot;: [],
    &quot;Config&quot;: {
        &quot;Hostname&quot;: &quot;ea78d3363fc2&quot;,
        &quot;Domainname&quot;: &quot;&quot;,
        &quot;User&quot;: &quot;&quot;,
        &quot;AttachStdin&quot;: true,
        &quot;AttachStdout&quot;: true,
        &quot;AttachStderr&quot;: true,
        &quot;ExposedPorts&quot;: {
            &quot;1113/tcp&quot;: {},
            &quot;2113/tcp&quot;: {}
        },
        &quot;Tty&quot;: true,
        &quot;OpenStdin&quot;: true,
        &quot;StdinOnce&quot;: true,
        &quot;Env&quot;: null,
        &quot;Cmd&quot;: [
            &quot;EventStore.ClusterNode.exe&quot;,
            &quot;--ext-http-port&quot;,
            &quot;2114&quot;,
            &quot;--ext-tcp-port&quot;,
            &quot;1114&quot;
        ],
        &quot;Image&quot;: &quot;eventstore_5.0.10:latest&quot;,
        &quot;Volumes&quot;: null,
        &quot;WorkingDir&quot;: &quot;C:\\EventStore&quot;,
        &quot;Entrypoint&quot;: null,
        &quot;OnBuild&quot;: null,
        &quot;Labels&quot;: {}
    },
    &quot;NetworkSettings&quot;: {
        &quot;Bridge&quot;: &quot;&quot;,
        &quot;SandboxID&quot;: &quot;ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922&quot;,
        &quot;HairpinMode&quot;: false,
        &quot;LinkLocalIPv6Address&quot;: &quot;&quot;,
        &quot;LinkLocalIPv6PrefixLen&quot;: 0,
        &quot;Ports&quot;: {
            &quot;1113/tcp&quot;: [
                {
                    &quot;HostIp&quot;: &quot;0.0.0.0&quot;,
                    &quot;HostPort&quot;: &quot;1113&quot;
                }
            ],
            &quot;2113/tcp&quot;: [
                {
                    &quot;HostIp&quot;: &quot;0.0.0.0&quot;,
                    &quot;HostPort&quot;: &quot;2113&quot;
                }
            ]
        },
        &quot;SandboxKey&quot;: &quot;ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922&quot;,
        &quot;SecondaryIPAddresses&quot;: null,
        &quot;SecondaryIPv6Addresses&quot;: null,
        &quot;EndpointID&quot;: &quot;&quot;,
        &quot;Gateway&quot;: &quot;&quot;,
        &quot;GlobalIPv6Address&quot;: &quot;&quot;,
        &quot;GlobalIPv6PrefixLen&quot;: 0,
        &quot;IPAddress&quot;: &quot;&quot;,
        &quot;IPPrefixLen&quot;: 0,
        &quot;IPv6Gateway&quot;: &quot;&quot;,
        &quot;MacAddress&quot;: &quot;&quot;,
        &quot;Networks&quot;: {
            &quot;nat&quot;: {
                &quot;IPAMConfig&quot;: null,
                &quot;Links&quot;: null,
                &quot;Aliases&quot;: null,
                &quot;NetworkID&quot;: &quot;9b278c35599d8de2a001da51c4ef9fe663f908163861792bba7610bcf7f9c887&quot;,
                &quot;EndpointID&quot;: &quot;0da7da9dff1d4e7861bf3cb13e91181e56a8797de25de612643ea6437379e3bc&quot;,
                &quot;Gateway&quot;: &quot;172.29.240.1&quot;,
                &quot;IPAddress&quot;: &quot;172.29.254.94&quot;,
                &quot;IPPrefixLen&quot;: 16,
                &quot;IPv6Gateway&quot;: &quot;&quot;,
                &quot;GlobalIPv6Address&quot;: &quot;&quot;,
                &quot;GlobalIPv6PrefixLen&quot;: 0,
                &quot;MacAddress&quot;: &quot;00:15:5d:7a:a9:ee&quot;,
                &quot;DriverOpts&quot;: null
            }
        }
    }
}
</code></pre>
<p>When I run a curl on the container, I get a happy response :</p>
<pre><code>C:\EventStore&gt;curl -I localhost:2114
HTTP/1.1 405 Method Not Allowed
Content-Length: 0
Server: Microsoft-HTTPAPI/2.0
Access-Control-Allow-Methods: GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-Forwarded-Host, X-Forwarded-Prefix, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion, ES-EventId, ES-EventType, ES-RequiresMaster, ES-HardDelete, ES-Resolv
eLinkTos
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ES-Position, ES-CurrentVersion
Date: Mon, 15 Jan 2024 08:01:53 GMT
</code></pre>
<p>When I try curl'ing to the IP from the network section, or localhost on my host, I get the following response :</p>
<pre><code>C:\EventStoreDocker&gt;curl -I http://172.29.254.94:2113
curl: (28) Failed to connect to 172.29.254.94 port 2113 after 21028 ms: Couldn't connect to server

C:\EventStoreDocker&gt;curl -I http://localhost:2113
curl: (28) Failed to connect to localhost port 2113 after 21261 ms: Couldn't connect to server

C:\EventStoreDocker&gt;curl -I http://127.0.0.1:2113
curl: (28) Failed to connect to 127.0.0.1 port 2113 after 21052 ms: Couldn't connect to server
</code></pre>

<networking><windows>
Unable to connect to my EventStore docker container
WynDiesel
# Unable to connect to my EventStore docker container

(Asked by: username_0 on 2024-01-15)

This is my first attempt at setting up docker containers. I've managed to create a SQL Server container that I can connect to, but I've been struggling for more than a month to get my EventStore connected.
The site only provides instructions for a Linux image, so I had to create my own. I downloaded Eventstore, and created my image with this command :
docker build -t eventstore_5.0.10:latest .
I then created docker-compose.yaml with this configuration :
version: '3.4'

services:
  eventstore.db:
    image: eventstore/eventstore:release-v5
    environment:
      - EVENTSTORE_CLUSTER_SIZE=1
      - EVENTSTORE_RUN_PROJECTIONS=All
      - EVENTSTORE_START_STANDARD_PROJECTIONS=True
      - EVENTSTORE_DB=/var/lib/eventstore-data
      - EVENTSTORE_INDEX=/var/lib/eventstore-index
      - EVENTSTORE_LOG=/var/log/eventstore
      - EVENTSTORE_EXT_TCP_PORT=1113
      - EVENTSTORE_EXT_HTTP_PORT=2113
    ports:
      - "1113:1113"
      - "2113:2113"
    volumes:
      - type: volume
        source: eventstore-volume-data
        target: /var/lib/eventstore-data
      - type: volume
        source: eventstore-volume-index
        target: /var/lib/eventstore-index
      - type: volume
        source: eventstore-volume-logs
        target: /var/log/eventstore

volumes:
  eventstore-volume-data:
  eventstore-volume-index:
  eventstore-volume-logs:

When I spin up the container, EventStore starts up fine :
[01288,01,07:43:33.783]
2024-01-15 09:43:33 "ES VERSION:"             "5.0.10.0" ("oss-v5.0.10"/"6b9af2bc4fcd85c12c01fb115110ff6ccc5d3bfd", "Thu, 11 Mar 2021 14:39:
2024-01-15 09:43:33 08 +0100")
2024-01-15 09:43:33 MODIFIED OPTIONS:
2024-01-15 09:43:33 
2024-01-15 09:43:33         EXT HTTP PORT:            2114 (Command Line)
2024-01-15 09:43:33         EXT TCP PORT:             1114 (Command Line)
2024-01-15 09:43:33 
2024-01-15 09:43:33 DEFAULT OPTIONS:
2024-01-15 09:43:33 
2024-01-15 09:43:33         HELP:                     False ()
2024-01-15 09:43:33         VERSION:                  False ()
2024-01-15 09:43:33         LOG:                      C:\EventStore\logs () 
2024-01-15 09:43:33         CONFIG:                    ()
2024-01-15 09:43:33         DEFINES:                   ()
2024-01-15 09:43:33         WHAT IF:                  False ()
2024-01-15 09:43:33         START STANDARD PROJECTIONS: False ()
2024-01-15 09:43:33         DISABLE HTTP CACHING:     False ()
2024-01-15 09:43:33         MONO MIN THREADPOOL SIZE: 10 ()
2024-01-15 09:43:33         INT IP:                   127.0.0.1 ()
2024-01-15 09:43:33         EXT IP:                   127.0.0.1 ()
2024-01-15 09:43:33         INT HTTP PORT:            2112 ()
2024-01-15 09:43:33         INT TCP PORT:             1112 ()
2024-01-15 09:43:33         INT SECURE TCP PORT:      0 ()
2024-01-15 09:43:33         EXT SECURE TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         EXT SECURE TCP PORT:      0 ()
2024-01-15 09:43:33         EXT IP ADVERTISE AS:       ()
2024-01-15 09:43:33         EXT TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         EXT HTTP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         INT IP ADVERTISE AS:       ()
2024-01-15 09:43:33         INT SECURE TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         INT TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         INT HTTP PORT ADVERTISE AS: 0 ()
2024-01-15 09:43:33         INT TCP HEARTBEAT TIMEOUT: 700 ()
2024-01-15 09:43:33         EXT TCP HEARTBEAT TIMEOUT: 1000 ()
2024-01-15 09:43:33         INT TCP HEARTBEAT INTERVAL: 700 ()
2024-01-15 09:43:33         EXT TCP HEARTBEAT INTERVAL: 2000 ()
2024-01-15 09:43:33         GOSSIP ON SINGLE NODE:    False ()
2024-01-15 09:43:33         CONNECTION PENDING SEND BYTES THRESHOLD: 10485760 ()
2024-01-15 09:43:33         CONNECTION QUEUE SIZE THRESHOLD: 50000 ()
2024-01-15 09:43:33         STREAM INFO CACHE CAPACITY: 100000 ()
2024-01-15 09:43:33         FORCE:                    False ()
2024-01-15 09:43:33         CLUSTER SIZE:             1 ()
2024-01-15 09:43:33         NODE PRIORITY:            0 ()
2024-01-15 09:43:33         MIN FLUSH DELAY MS:       2 ()
2024-01-15 09:43:33         COMMIT COUNT:             -1 ()
2024-01-15 09:43:33         PREPARE COUNT:            -1 ()
2024-01-15 09:43:33         ADMIN ON EXT:             True ()
2024-01-15 09:43:33         STATS ON EXT:             True ()
2024-01-15 09:43:33         GOSSIP ON EXT:            True ()
2024-01-15 09:43:33         DISABLE SCAVENGE MERGING: False ()
2024-01-15 09:43:33         SCAVENGE HISTORY MAX AGE: 30 ()
2024-01-15 09:43:33         DISCOVER VIA DNS:         True ()
2024-01-15 09:43:33         CLUSTER DNS:              fake.dns ()
2024-01-15 09:43:33         CLUSTER GOSSIP PORT:      30777 ()
2024-01-15 09:43:33         GOSSIP SEED:               ()
2024-01-15 09:43:33         STATS PERIOD SEC:         30 ()
2024-01-15 09:43:33         CACHED CHUNKS:            -1 ()
2024-01-15 09:43:33         READER THREADS COUNT:     4 ()
2024-01-15 09:43:33         CHUNKS CACHE SIZE:        536871424 ()
2024-01-15 09:43:33         MAX MEM TABLE SIZE:       1000000 ()
2024-01-15 09:43:33         HASH COLLISION READ LIMIT: 100 ()
2024-01-15 09:43:33         DB:                       C:\EventStore\data ()
2024-01-15 09:43:33         INDEX:                     ()
2024-01-15 09:43:33         MEM DB:                   False ()
2024-01-15 09:43:33         SKIP DB VERIFY:           False ()
2024-01-15 09:43:33         WRITE THROUGH:            False ()
2024-01-15 09:43:33         UNBUFFERED:               False ()
2024-01-15 09:43:33         CHUNK INITIAL READER COUNT: 5 ()
2024-01-15 09:43:33         RUN PROJECTIONS:          None ()
2024-01-15 09:43:33         PROJECTION THREADS:       3 ()
2024-01-15 09:43:33         WORKER THREADS:           5 ()
2024-01-15 09:43:33         PROJECTIONS QUERY EXPIRY: 5 ()
"024-01-15 09:43:33         FAULT OUT OF ORDER PROJECTIONS: False ()
2024-01-15 09:43:33         INT HTTP PREFIXES:         ()
2024-01-15 09:43:33         EXT HTTP PREFIXES:         ()
2024-01-15 09:43:33         ENABLE TRUSTED AUTH:      False ()
2024-01-15 09:43:33         ADD INTERFACE PREFIXES:   True ()
2024-01-15 09:43:33         CERTIFICATE STORE LOCATION:  ()
2024-01-15 09:43:33         CERTIFICATE STORE NAME:    ()
2024-01-15 09:43:33         CERTIFICATE SUBJECT NAME:  ()
2024-01-15 09:43:33         CERTIFICATE THUMBPRINT:    ()
2024-01-15 09:43:33         CERTIFICATE FILE:          ()
2024-01-15 09:43:33         CERTIFICATE PASSWORD:      ()
[01284,01,07:45:54.938]
2024-01-15 09:45:55 "ES VERSION:"             "5.0.10.0" ("oss-v5.0.10"/"6b9af2bc4fcd85c12c01fb115110ff6ccc5d3bfd", "Thu, 11 Mar 2021 14:39:
2024-01-15 09:45:55 08 +0100")
2024-01-15 09:45:55 MODIFIED OPTIONS:
2024-01-15 09:45:55 
2024-01-15 09:45:55         EXT HTTP PORT:            2114 (Command Line)
2024-01-15 09:45:55         EXT TCP PORT:             1114 (Command Line)
2024-01-15 09:45:55 
2024-01-15 09:45:55 DEFAULT OPTIONS:
2024-01-15 09:45:55 
2024-01-15 09:45:55         HELP:                     False ()
2024-01-15 09:45:55         VERSION:                  False ()
2024-01-15 09:45:55         LOG:                      C:\EventStore\logs () 
2024-01-15 09:45:55         CONFIG:                    ()
2024-01-15 09:45:55         DEFINES:                   ()
2024-01-15 09:45:55         WHAT IF:                  False ()
2024-01-15 09:45:55         START STANDARD PROJECTIONS: False ()
2024-01-15 09:45:55         DISABLE HTTP CACHING:     False ()
2024-01-15 09:45:55         MONO MIN THREADPOOL SIZE: 10 ()
2024-01-15 09:45:55         INT IP:                   127.0.0.1 ()
2024-01-15 09:45:55         EXT IP:                   127.0.0.1 ()
2024-01-15 09:45:55         INT HTTP PORT:            2112 ()
2024-01-15 09:45:55         INT TCP PORT:             1112 ()
2024-01-15 09:45:55         INT SECURE TCP PORT:      0 ()
2024-01-15 09:45:55         EXT SECURE TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         EXT SECURE TCP PORT:      0 ()
2024-01-15 09:45:55         EXT IP ADVERTISE AS:       ()
2024-01-15 09:45:55         EXT TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         EXT HTTP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         INT IP ADVERTISE AS:       ()
2024-01-15 09:45:55         INT SECURE TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         INT TCP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         INT HTTP PORT ADVERTISE AS: 0 ()
2024-01-15 09:45:55         INT TCP HEARTBEAT TIMEOUT: 700 ()
2024-01-15 09:45:55         EXT TCP HEARTBEAT TIMEOUT: 1000 ()
2024-01-15 09:45:55         INT TCP HEARTBEAT INTERVAL: 700 ()
2024-01-15 09:45:55         EXT TCP HEARTBEAT INTERVAL: 2000 ()
2024-01-15 09:45:55         GOSSIP ON SINGLE NODE:    False ()
2024-01-15 09:45:55         CONNECTION PENDING SEND BYTES THRESHOLD: 10485760 ()
2024-01-15 09:45:55         CONNECTION QUEUE SIZE THRESHOLD: 50000 ()
2024-01-15 09:45:55         STREAM INFO CACHE CAPACITY: 100000 ()
2024-01-15 09:45:55         FORCE:                    False ()
2024-01-15 09:45:55         CLUSTER SIZE:             1 ()
2024-01-15 09:45:55         NODE PRIORITY:            0 ()
2024-01-15 09:45:55         MIN FLUSH DELAY MS:       2 ()
2024-01-15 09:45:55         COMMIT COUNT:             -1 ()
2024-01-15 09:45:55         PREPARE COUNT:            -1 ()
2024-01-15 09:45:55         ADMIN ON EXT:             True ()
2024-01-15 09:45:55         STATS ON EXT:             True ()
2024-01-15 09:45:55         GOSSIP ON EXT:            True ()
2024-01-15 09:45:55         DISABLE SCAVENGE MERGING: False ()
2024-01-15 09:45:55         SCAVENGE HISTORY MAX AGE: 30 ()
2024-01-15 09:45:55         DISCOVER VIA DNS:         True ()
2024-01-15 09:45:55         CLUSTER DNS:              fake.dns ()
2024-01-15 09:45:55         CLUSTER GOSSIP PORT:      30777 ()
2024-01-15 09:45:55         GOSSIP SEED:               ()
2024-01-15 09:45:55         STATS PERIOD SEC:         30 ()
2024-01-15 09:45:55         CACHED CHUNKS:            -1 ()
2024-01-15 09:45:55         READER THREADS COUNT:     4 ()
2024-01-15 09:45:55         CHUNKS CACHE SIZE:        536871424 ()
2024-01-15 09:45:55         MAX MEM TABLE SIZE:       1000000 ()
2024-01-15 09:45:55         HASH COLLISION READ LIMIT: 100 ()
2024-01-15 09:45:55         DB:                       C:\EventStore\data ()
2024-01-15 09:45:55         INDEX:                     ()
2024-01-15 09:45:55         MEM DB:                   False ()
2024-01-15 09:45:55         SKIP DB VERIFY:           False ()
2024-01-15 09:45:55         WRITE THROUGH:            False ()
2024-01-15 09:45:55         UNBUFFERED:               False ()
2024-01-15 09:45:55         CHUNK INITIAL READER COUNT: 5 ()
2024-01-15 09:45:55         RUN PROJECTIONS:          None ()
2024-01-15 09:45:55         PROJECTION THREADS:       3 ()
2024-01-15 09:45:55         WORKER THREADS:           5 ()
2024-01-15 09:45:55         PROJECTIONS QUERY EXPIRY: 5 ()
i024-01-15 09:45:55         FAULT OUT OF ORDER PROJECTIONS: False ()
2024-01-15 09:45:55         INT HTTP PREFIXES:         ()
2024-01-15 09:45:55         EXT HTTP PREFIXES:         ()
2024-01-15 09:45:55         ENABLE TRUSTED AUTH:      False ()
2024-01-15 09:45:55         ADD INTERFACE PREFIXES:   True ()
2024-01-15 09:45:55         CERTIFICATE STORE LOCATION:  ()
2024-01-15 09:45:55         CERTIFICATE STORE NAME:    ()
2024-01-15 09:45:55         CERTIFICATE SUBJECT NAME:  ()
2024-01-15 09:45:55         CERTIFICATE THUMBPRINT:    ()
2024-01-15 09:45:55         CERTIFICATE FILE:          ()
2024-01-15 09:45:55         CERTIFICATE PASSWORD:      ()
2024-01-15 09:45:55         USE INTERNAL SSL:         False ()
[024-01-15 09:45:55         DISABLE INSECURE TCP:     False ()
2024-01-15 09:45:55         SSL TARGET HOST:          n/a ()
2024-01-15 09:45:55         SSL VALIDATE SERVER:      True ()
2024-01-15 09:45:55         AUTHENTICATION TYPE:      internal ()
2024-01-15 09:45:55         AUTHENTICATION CONFIG:     ()
2024-01-15 09:45:55         DISABLE FIRST LEVEL HTTP AUTHORIZATION: False ()
2024-01-15 09:45:55         PREPARE TIMEOUT MS:       2000 ()
2024-01-15 09:45:55         COMMIT TIMEOUT MS:        2000 ()
2024-01-15 09:45:55         UNSAFE DISABLE FLUSH TO DISK: False ()
2024-01-15 09:45:55         BETTER ORDERING:          False ()
2024-01-15 09:45:55         UNSAFE IGNORE HARD DELETE: False ()
2024-01-15 09:45:55         SKIP INDEX VERIFY:        False ()
2024-01-15 09:45:55         INDEX CACHE DEPTH:        16 ()
2024-01-15 09:45:55         OPTIMIZE INDEX MERGE:     False ()
2024-01-15 09:45:55         GOSSIP INTERVAL MS:       1000 ()
2024-01-15 09:45:55         GOSSIP ALLOWED DIFFERENCE MS: 60000 ()
2024-01-15 09:45:55         GOSSIP TIMEOUT MS:        500 ()
[01284,01,07:45:55.891] Opened ongoing "C:\EventStore\data\chunk-000000.000000" as version 3 "0","IntHttpPortAdvertiseAs
[01284,01,07:45:55.906] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.0047455. 
[01284,01,07:45:56.208] Starting MiniWeb for "/web/es/js/projections" ==> "C:\EventStore\projections" 
[01284,01,07:45:56.208] Starting MiniWeb for "/web/es/js/projections/v8/Prelude" ==> "C:\EventStore\Prelude" 
2024-01-15 09:45:56 [01284,01,07:45:56.224] Starting MiniWeb for "/web" ==> "C:\EventStore\clusternode-web"
2024-01-15 09:45:56 [01284,01,07:45:56.224] Binding MiniWeb to "/web/{*remaining_path}"
2024-01-15 09:45:56 [01284,10,07:45:56.224] ========== [127.0.0.1:2112] SYSTEM INIT...
[01284,11,07:45:56.224] TableIndex initialization... 
2024-01-15 09:45:56 [01284,10,07:45:56.239] Starting "Normal" TCP listening on TCP endpoint: 127.0.0.1:1114.
[01284,11,07:45:56.255] ReadIndex building... 
[01284,10,07:45:56.271] Starting HTTP server on ["http://localhost:2114/,http://127.0.0.1:2114/"]... 
2024-01-15 09:45:56 df60f5a835d}](L=2413,W=18903,C=18903,E3@2191:{5d193532-91ce-4d8f-8fc2-5fd0fb67c25a})".
[01284,06,07:49:45.474] Segments count: 1, buffers count: 20, should be when full: 20 TE, WAITING FOR CHASER TO CATCH UP...
2024-01-15 09:45:56 [01284,10,07:45:56.333] ========== [127.0.0.1:2112] IS MASTER... SPARTA!
2024-01-15 09:45:56 [01284,05,07:45:56.333] Persistent subscriptions received state change to PreMaster. Stopping listening
2024-01-15 09:45:56 [01284,10,07:45:56.333] Searching for incomplete scavenges on node "127.0.0.1:2114".
2024-01-15 09:45:56 [01284,05,07:45:56.333] Persistent subscriptions Became Master so now handling subscriptions
[01284,08,07:45:56.364] === Writing E4@18903:{e90dcaee-48f5-4147-a3c7-f51867b47158} (previous epoch at 2191). 
2024-01-15 09:45:56 [01284,10,07:45:56.364] Max age and $ops read permission already set for the "$scavenges" stream.
2024-01-15 09:45:56 [01284,10,07:45:56.364] No incomplete scavenges found on node "127.0.0.1:2114".
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Starting Projections Core Coordinator. (Node State : Master)
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Starting Projections Manager. (Node State : Master)
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: Resetting Worker Writer
2024-01-15 09:45:56 [01284,10,07:45:56.364] ========== [127.0.0.1:2112] Sub System '"Projections"' initialized.
2024-01-15 09:45:56 [01284,13,07:45:56.364] PROJECTIONS: SubComponent Started: "EventReaderCoreService"
2024-01-15 09:45:56 [01284,08,07:45:56.364] === Update Last Epoch E4@18903:{e90dcaee-48f5-4147-a3c7-f51867b47158} (previous epoch at 2191). 
[01284,05,07:45:56.896] Created stats stream '"$stats-127.0.0.1:2114"', code = WrongExpectedVersion 

My network section of the inspect :
{
    "Id": "ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922",
    "Created": "2024-01-15T07:43:19.5805765Z",
    "Path": "EventStore.ClusterNode.exe",
    "Args": [
        "--ext-http-port",
        "2114",
        "--ext-tcp-port",
        "1114"
    ],
    "State": {
        "Status": "running",
        "Running": true,
        "Paused": false,
        "Restarting": false,
        "OOMKilled": false,
        "Dead": false,
        "Pid": 1284,
        "ExitCode": 0,
        "Error": "",
        "StartedAt": "2024-01-15T07:45:53.7466139Z",
        "FinishedAt": "2024-01-15T09:44:33.5226551+02:00"
    },
    "Image": "sha256:c31ae93c602f572270469ed1e09e0f391d6b95147498d617f2fb46230a922ee1",
    "ResolvConfPath": "",
    "HostnamePath": "",
    "HostsPath": "",
    "LogPath": "C:\\ProgramData\\Docker\\containers\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922-json.log",
    "Name": "/eventstore-node",
    "RestartCount": 0,
    "Driver": "windowsfilter",
    "Platform": "windows",
    "MountLabel": "",
    "ProcessLabel": "",
    "AppArmorProfile": "",
    "ExecIDs": [
        "2c31d86df3bab58cee2594e3897f744d81e1a208c82c0f2b673a7e7a88269a4d"
    ],
    "HostConfig": {
        "Binds": null,
        "ContainerIDFile": "",
        "LogConfig": {
            "Type": "json-file",
            "Config": {}
        },
        "NetworkMode": "default",
        "PortBindings": {
            "1113/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "1113"
                }
            ],
            "2113/tcp": [
                {
                    "HostIp": "",
                    "HostPort": "2113"
                }
            ]
        },
        "RestartPolicy": {
            "Name": "no",
            "MaximumRetryCount": 0
        },
        "AutoRemove": false,
        "VolumeDriver": "",
        "VolumesFrom": null,
        "ConsoleSize": [
            30,
            120
        ],
        "CapAdd": null,
        "CapDrop": null,
        "CgroupnsMode": "",
        "Dns": [],
        "DnsOptions": [],
        "DnsSearch": [],
        "ExtraHosts": null,
        "GroupAdd": null,
        "IpcMode": "",
        "Cgroup": "",
        "Links": null,
        "OomScoreAdj": 0,
        "PidMode": "",
        "Privileged": false,
        "PublishAllPorts": false,
        "ReadonlyRootfs": false,
        "SecurityOpt": null,
        "UTSMode": "",
        "UsernsMode": "",
        "ShmSize": 0,
        "Isolation": "hyperv",
        "CpuShares": 0,
        "Memory": 0,
        "NanoCpus": 0,
        "CgroupParent": "",
        "BlkioWeight": 0,
        "BlkioWeightDevice": [],
        "BlkioDeviceReadBps": [],
        "BlkioDeviceWriteBps": [],
        "BlkioDeviceReadIOps": [],
        "BlkioDeviceWriteIOps": [],
        "CpuPeriod": 0,
        "CpuQuota": 0,
        "CpuRealtimePeriod": 0,
        "CpuRealtimeRuntime": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "Devices": [],
        "DeviceCgroupRules": null,
        "DeviceRequests": null,
        "MemoryReservation": 0,
        "MemorySwap": 0,
        "MemorySwappiness": null,
        "OomKillDisable": false,
        "PidsLimit": null,
        "Ulimits": null,
        "CpuCount": 0,
        "CpuPercent": 0,
        "IOMaximumIOps": 0,
        "IOMaximumBandwidth": 0,
        "MaskedPaths": null,
        "ReadonlyPaths": null
    },
    "GraphDriver": {
        "Data": {
            "dir": "C:\\ProgramData\\Docker\\windowsfilter\\ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922"
        },
        "Name": "windowsfilter"
    },
    "Mounts": [],
    "Config": {
        "Hostname": "ea78d3363fc2",
        "Domainname": "",
        "User": "",
        "AttachStdin": true,
        "AttachStdout": true,
        "AttachStderr": true,
        "ExposedPorts": {
            "1113/tcp": {},
            "2113/tcp": {}
        },
        "Tty": true,
        "OpenStdin": true,
        "StdinOnce": true,
        "Env": null,
        "Cmd": [
            "EventStore.ClusterNode.exe",
            "--ext-http-port",
            "2114",
            "--ext-tcp-port",
            "1114"
        ],
        "Image": "eventstore_5.0.10:latest",
        "Volumes": null,
        "WorkingDir": "C:\\EventStore",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {}
    },
    "NetworkSettings": {
        "Bridge": "",
        "SandboxID": "ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922",
        "HairpinMode": false,
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "Ports": {
            "1113/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "1113"
                }
            ],
            "2113/tcp": [
                {
                    "HostIp": "0.0.0.0",
                    "HostPort": "2113"
                }
            ]
        },
        "SandboxKey": "ea78d3363fc2f9a3cc5e1b67c55772f67e3e63cf724636e691a8210b06c5e922",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null,
        "EndpointID": "",
        "Gateway": "",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "IPAddress": "",
        "IPPrefixLen": 0,
        "IPv6Gateway": "",
        "MacAddress": "",
        "Networks": {
            "nat": {
                "IPAMConfig": null,
                "Links": null,
                "Aliases": null,
                "NetworkID": "9b278c35599d8de2a001da51c4ef9fe663f908163861792bba7610bcf7f9c887",
                "EndpointID": "0da7da9dff1d4e7861bf3cb13e91181e56a8797de25de612643ea6437379e3bc",
                "Gateway": "172.29.240.1",
                "IPAddress": "172.29.254.94",
                "IPPrefixLen": 16,
                "IPv6Gateway": "",
                "GlobalIPv6Address": "",
                "GlobalIPv6PrefixLen": 0,
                "MacAddress": "00:15:5d:7a:a9:ee",
                "DriverOpts": null
            }
        }
    }
}

When I run a curl on the container, I get a happy response :
C:\EventStore>curl -I localhost:2114
HTTP/1.1 405 Method Not Allowed
Content-Length: 0
Server: Microsoft-HTTPAPI/2.0
Access-Control-Allow-Methods: GET, OPTIONS
Access-Control-Allow-Headers: Content-Type, X-Requested-With, X-Forwarded-Host, X-Forwarded-Prefix, X-PINGOTHER, Authorization, ES-LongPoll, ES-ExpectedVersion, ES-EventId, ES-EventType, ES-RequiresMaster, ES-HardDelete, ES-Resolv
eLinkTos
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Location, ES-Position, ES-CurrentVersion
Date: Mon, 15 Jan 2024 08:01:53 GMT

When I try curl'ing to the IP from the network section, or localhost on my host, I get the following response :
C:\EventStoreDocker>curl -I http://172.29.254.94:2113
curl: (28) Failed to connect to 172.29.254.94 port 2113 after 21028 ms: Couldn't connect to server

C:\EventStoreDocker>curl -I http://localhost:2113
curl: (28) Failed to connect to localhost port 2113 after 21261 ms: Couldn't connect to server

C:\EventStoreDocker>curl -I http://127.0.0.1:2113
curl: (28) Failed to connect to 127.0.0.1 port 2113 after 21052 ms: Couldn't connect to server

**Tags:** networking, windows


---

## 2 answers

### Answer by username_0 on 2024-01-18. Score: 0 | Accepted answer

The issue was the docker container was never running in secure mode:
Changing the docker-compose to this fixed the problem :
...
- EVENTSTORE_INSECURE=true
- EVENTSTORE_DISABLE_INTERNAL_TCP_TLS=true
- EVENTSTORE_DISABLE_EXTERNAL_TCP_TLS=true
...


---

### Answer by username_1 on 2024-01-17. Score: 0

Why do you need to create your own image?
Try this docker-compose.yml:
version: "3.4"

services:
  eventstore.db:
    image: eventstore/eventstore:23.10.0-bookworm-slim
    environment:
      - EVENTSTORE_CLUSTER_SIZE=1
      - EVENTSTORE_RUN_PROJECTIONS=All
      - EVENTSTORE_START_STANDARD_PROJECTIONS=true
      - EVENTSTORE_EXT_TCP_PORT=1113
      - EVENTSTORE_HTTP_PORT=2113
      - EVENTSTORE_INSECURE=true
      - EVENTSTORE_ENABLE_EXTERNAL_TCP=true
      - EVENTSTORE_ENABLE_ATOM_PUB_OVER_HTTP=true
    ports:
      - "1113:1113"
      - "2113:2113"
    volumes:
      - type: volume
        source: eventstore-volume-data
        target: /var/lib/eventstore
      - type: volume
        source: eventstore-volume-logs
        target: /var/log/eventstore

volumes:
  eventstore-volume-data:
  eventstore-volume-logs:

> **Comments:**
> **username_0**: I have dependencies that are not compatible with the latest ES. I need to stick to 5.0.10  
> **username_1**: Ok. In your docker-compose.yml you are using eventstore/eventstore:release-v5 image and not your custom eventstore_5.0.10:latest.  

---

