nest-cloud / nestcloud-grpc-example

How to use nestcloud/grpc for loadbalance rpc call.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: connect ECONNREFUSED 127.0.0.1:8500

zyhcool opened this issue · comments

commented

When I run yarn start:server1 or yarn start:server2,both I got following error message:

[Nest] 4552   - 2020-12-18 16:57:12   [ConsulService] Unable to initial ServiceModule, retrying... +6015ms
Error: connect ECONNREFUSED 127.0.0.1:8500

Did I miss something?
I'm not familiar with Consul or gRpc
I just start up the 2 server with scripts in package.json directly

@zyhcool , you need Consul, as stated in the README.