New to grpc, I just spent half an hour debugging an UNIMPLEMENTED error that seems to be a missing implementation of a method on the server-side.
But it turned out to be that the port specified (50051 as the example said) was unavailable. Switching to a different port on both server and client sides solves the problem.
However, this begs a better solution because we can't ask every rpc call to hardcode a port number. What would be the best practice?
I've consulted this question but couldn't get a sure answer for a bulletproof solution.
Thanks in advance!