I’m trying to use the new gRPC C# client with the latest EventStoreDb and unable to find out or autodetect connection string details here https://developers.eventstore.com/clients/grpc/getting-started/#connection-details
I get unabe to reach specified node when using the IP of my EC2. For example 18.104.22.168 and port 2113.
I’m probably missing some settings but can’t find which ones.
It’s all good locally when using docker. For example:
docker run --name esdb-node -it -p 2113:2113 -p 1113:1113 eventstore/eventstore:latest --insecure --run-projections=All --enable-external-tcp --enable-atom-pub-over-http
and connecting with the connection string
For EC2 Ubuntu 20.04 64bits I followed the instructions and I’ve got EventStore running as I can verify
$ systemctl | grep eventstore eventstore.service loaded active running EventStoreDB Server
with the following settings at /etc/eventstore/eventstore.conf
RunProjections: None ClusterSize: 1 Db: "/home/ubuntu/my-storage" Log: "/home/ubuntu/my-logs" Insecure: true EnableExternalTcp: true
As I understood, gRPC uses TCP, so I’ve created the following inbound rules in the security group for the EC2 instance (to allow TCP connections on 1113 and 2113 from anywhere)
1113 TCP 0.0.0.0/0 launch-wizard-1 1113 TCP ::/0 launch-wizard-1 2113 TCP 0.0.0.0/0 launch-wizard-1 2113 TCP ::/0 launch-wizard-1
What else am I missing? Would the connection string use the public IP address as in
PS: by the way, the command
eventstore is not found when following documentation steps, although it’s probably irrelevant here.