I am trying to route my gRPC server to a url with a specific path on an Apache 2 server but am getting DNS resolving errors on my client when I try to connect. I would like to host my gRPC server behind example.com/rpc and my Apache config looks like this:Im using the grpc package on Node. My server is being bound to the 5051 port with the following:server.bind("0.0.0.0:5051", grpc.ServerCredentials.createInsecure());server.start();--
You received this message because you are subscribed to the Google Groups "grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/0efe7a2f-5285-4b40-a6ef-e2f2a6a95ffdn%40googlegroups.com.
All good! I understand the package.Service/Method structure but what Im trying to do is set the url portition before the service path. I dont want someone to have to use example.com:5051/package.Service/Method, I want example.com/rpc/package.Service/Method. Im hosting a REST and RPC api on the same server. REST has traffic routed to /api through the grpc-gateway service but I have no idea how to do this for grpc. Idealy id like to have both API's flow through the same url minus but I dont know if this is possible.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/9b4e3f25-11a8-4f87-ac6b-9256e9e78644n%40googlegroups.com.