go get google.golang.org/grpc/peer p, _ := peer.FromContext(ctx) fmt.Println("client.ip",p.Addr.String())