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:

Protocols h2 http/1.1
ProxyPass /rpc h2://127.0.0.1:5051
ProxyPassReverse /rpc https://127.0.0.1:5051

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/0efe7a2f-5285-4b40-a6ef-e2f2a6a95ffdn%40googlegroups.com.

Reply via email to