You can access it from a server interceptor, but looking in the attributes in the ServerCall. The Attributes key to use is in Grpc: https://github.com/grpc/grpc-java/blob/master/core/src/main/java/io/grpc/Grpc.java#L51
On Tuesday, November 15, 2016 at 3:38:13 AM UTC-8, yine wrote: > > java > > 在 2016年11月15日星期二 UTC+8上午11:36:54,Craig Tiller写道: >> >> Which language are you working with? >> >> On Mon, Nov 14, 2016 at 4:52 PM <[email protected]> wrote: >> >>> >>> How to get the client source IP address from the gRPC server >>> >>> -- >>> 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 post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/grpc-io. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/643d1b83-fb12-4c81-bd5a-110181a0ddbf%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/grpc-io/643d1b83-fb12-4c81-bd5a-110181a0ddbf%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4ee1031f-91b4-4044-9b8c-9ca9f4125660%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
