I have encountered this error while trying to run a grpc-based microservice client:
Error: tonic::transport::Error(Transport, hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))
The command was:
cargo run --bin client