Howdy All,
I can’t seem to get ES to accept connections on port 1113 although it does connect on port 2113 when:
Running Event Store 3.0.3
Running within Docker container on Google Computer Engine instance
Dockerfile has:
EXPOSE 1113
EXPOSE 2113
…
CMD ./run-node.sh \
–ext-ip=$ES_HOST \
–ext-tcp-port=1113 \
–ext-http-port=2113 \
–http-prefixes=http://*:2113/ \
–db /data/db \
–log /data/logs \
–run-projections=all \
And I run it with:
docker run \
-d \
-e ES_HOST="$ES_HOST" \
-p ${tcp_port}:1113 \
-p ${http_port}:2113 \
-v /XXX/eventstore/db:/data/db \
-v /XXX/eventstore/logs:/data/logs \
XXX/eventstore:${dockerfile_version}
with tcp_port=1113 and http_port=2113 and dockerfile_version=latest
And I have tried:
$ES_HOST equal to
0.0.0.0
Google Compute Engine Instance Internal IP (it is accessed internally only)
Docker Network IP (subnet on GCE Instance)
And using --net=host (i.e. no Docker Host Network)
I am confused that I can telnet to the GCE instance Internal IP on 2113 and it connects but not on 1113
If I am on the instance I can telnet to 127.0.0.1 1113 and it connects.
When I tried to set ES_HOST anything other than 0.0.0.0 I get binding failures and ES exits.
I assume I don’t have to worry about internal network setting because I am not running a cluster.
Do I have to use --net=host? I’d prefer not too…
I am confused…
Any pointers most appreciated.
Thanks,
Ashley.