https://authzed.com logo
Title
a

Aruna

09/17/2022, 4:30 AM
Hello All, I am trying to run SpiceDB instance locally and call it with the NodeJS client. I have docker SpiceDB running on 50051 and my preshared key is somerandomkeyhere. I ran this example code locally (https://github.com/authzed/authzed-node/blob/main/examples/v1/example.js) and I get *No connection established * error. What I am doing wrong here? This is how I created the client instance.
const client = v1.NewClient("somerandomkeyhere", "localhost:50051");
Thanks for your help.