I’m currently trying to fix an issue that I have with my setup.
I have a node service (using node-eventstore-client v0.2.18, TCP) and the eventstore (v20), both running in separate docker containers (and both connected to a custom docker network “backends-docker-network”).
Unfortunately, the service does not connect to the eventstore.
When I start a docker container with some network tools (the same way I start the service container) and scan the ports of the eventstore with nmap, I only see the port 2113 as open. Port 1113 leads to the same nmap output as any port that does not listen.
nmap -p- eventstore Starting Nmap 7.80 ( https://nmap.org ) at 2020-10-23 08:56 UTC Nmap scan report for eventstore (172.19.0.2) Host is up (0.000018s latency). rDNS record for 172.19.0.2: eventstore.backends-docker-network Not shown: 65534 closed ports PORT STATE SERVICE 2113/tcp open hsl-storm MAC Address: 02:42:AC:13:00:02 (Unknown) Nmap done: 1 IP address (1 host up) scanned in 1.90 seconds
With netstat on the host I can see both ports 1113 and 2113 on localhost.
tcp 0 0 127.0.0.1:1112 0.0.0.0:* LISTEN 0 1841059 tcp 0 0 127.0.0.1:1113 0.0.0.0:* LISTEN 0 1843452 tcp 0 0 127.0.0.1:2112 0.0.0.0:* LISTEN 0 1841790 tcp 0 0 127.0.0.1:2113 0.0.0.0:* LISTEN 0 1843427
docker run of the service
docker run -d --name adb-service --network=backends-docker-network --restart=unless-stopped <adb-service-image>
The only thing a currently override in terms of the eventstore config ist
EVENTSTORE_INSECURE: “true” (this is ansible syntax)
Any idea of how to proceed?