For the first question, try to use 0.0.0.0:8889 at https://github.com/Rhysol/GrpcDemo/blob/master/server/main.cpp#L8
For the second question, your server handles a single rpc at a time. All the other rpcs are waiting at the server to be picked up. Maybe that is the reason why you see memory bloat. On Wednesday, November 8, 2017 at 7:22:21 PM UTC-8, Rhysol wrote: > > Another Promble : My client send 100000 requests to the server, I saw the > server cost lots of memory and did not release before client disconnect. If > the grpc has a memory pool Or it just don't relase the memory before client > disconnect? > > 在 2017年11月9日星期四 UTC+8上午11:08:58,Rhysol写道: >> >> This is my demo code : https://github.com/Rhysol/GrpcDemo . I run the >> client and server in a Centos7 system, it's ok. But when I put the client >> to another computer(Also Centos7), the client can't connect to the server. >> And returns the error code 14 , the error message shows "Connect Failed". I >> don't know how to Fix this problem. Anyone know what's promble? >> > -- 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+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. 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/dc84b15b-a4f8-4062-85b5-7969b918191f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.