Eventstore Failed to listen on TCP endpoint: 127.0.0.1:1113

I get the below error when running sudo eventstore on iterm. I’ve installed eventstore with brew cask using “brew cask install eventstore”

I ran netstat on my machine ( mac osx Yosemite version 10.10.5 ) and didn’t find anything using the port. Here’s the full error below.

Any help much appreciated and let me know if you need more info.

[20254,01,15:04:32.363] Quorum size set to 1

[20254,01,15:04:32.373] Cannot find plugins path: “/usr/local/share/eventstore/plugins”

[20254,01,15:04:32.415] “INSTANCE ID:” f7d5a00a-662a-4bde-b1d5-f46a1cd59e61

[20254,01,15:04:32.415] “DATABASE:” “/var/lib/eventstore”

[20254,01,15:04:32.415] “WRITER CHECKPOINT:” 2840435 (0x2B5773)

[20254,01,15:04:32.420] “CHASER CHECKPOINT:” 2840435 (0x2B5773)

[20254,01,15:04:32.420] “EPOCH CHECKPOINT:” 49554 (0xC192)

[20254,01,15:04:32.420] “TRUNCATE CHECKPOINT:” -1 (0xFFFFFFFFFFFFFFFF)

[20254,01,15:04:32.618] MessageHierarchy initialization took 00:00:00.1805733.

[20254,01,15:04:32.684] Opened ongoing “/var/lib/eventstore/chunk-000000.000000” as version 3

[20254,01,15:04:32.693] CACHED TFChunk #0-0 (chunk-000000.000000) in 00:00:00.0041161.

[20254,01,15:04:32.905] Starting MiniWeb for “/web/es/js/projections” ==> “projections”

[20254,01,15:04:32.905] Starting MiniWeb for “/web/es/js/projections/v8/Prelude” ==> “Prelude”

[20254,01,15:04:32.914] Starting MiniWeb for “/web” ==> “clusternode-web”

[20254,01,15:04:32.914] Binding MiniWeb to “/web/{*remaining_path}”

[20254,14,15:04:32.915] ========== [127.0.0.1:2112] SYSTEM INIT…

[20254,14,15:04:32.918] Starting “Normal” TCP listening on TCP endpoint: 127.0.0.1:1113.

[20254,16,15:04:32.921] TableIndex initialization…

[20254,16,15:04:32.930] ReadIndex building…

[20254,16,15:04:32.952] ReadIndex rebuilding done: total processed 187 records, time elapsed: 00:00:00.0212180.

[20254,14,15:04:32.959] Failed to listen on TCP endpoint: 127.0.0.1:1113.

Exiting with exit code: 1.

Exit reason: Address already in use

[20254,14,15:04:32.962] Exiting with exit code: 1.

Exit reason: “Address already in use”

To follow up I did a port scan with Network Utility and port 1113 is open. Attached the scan.

Screen Shot 2019-03-16 at 1.43.44 PM.png

I had to kill the process using the port. I’m new to this thread. To help others running into this issue, how do I post completed/solved/answered/etc.?

Should be fine as its here (its listed/searchable/etc in the group).

Cheers,

Greg

Ok great.