Hello,
I'm looking to register multiple services to the same (sync) server in C++, ideally specifying a different IP / port for each.
The ServerBuilder documentation suggests that I'm able to specify a host along with the service I'm registering to the server, a la
builder.registerService(host_string, &service)
However, when I provide a host string in the format "[ip]:[port]" (or a more concrete ex; `0.0.0.0:50051`), no clients are able to successfully make RPCs to the server, calls which would otherwise work if I simply registered to the default host using registerService([service addr]).
Providing an IP without port and vice versa don't work either. The documentation doesn't elaborate on the format the function expects for the function param std::string host. What should I be providing here?
Cheers,
Antonia