Actually, I found the answer. I have used the localhost socket in the gRPC server, I changed it 0.0.0.0:PORT, and then it worked. Thank you for the response.
On Friday, 20 January, 2023 at 4:21:39 am UTC+5:30 rbel...@google.com wrote: > Can you please provide more context? Your headless service should create a > DNS entry in kubedns as you've described and the kubernetes NodeJS client > should be able to resolve that DNS entry. Exactly what is the issue you are > experiencing? > > On Sunday, January 15, 2023 at 9:21:44 PM UTC-8 Sharan Karthikeyan wrote: > >> I have created a headless service in kubernetes for gRPC server. But, I'm >> not able to connect that server in NodeJS client the connection url like >> this "bbl-org-server.default.svc.cluster.local" -- >> "<serviceName>.<namespace>.svc.cluster.local". Please help me. >> >> Regards, >> Sharan >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/c6cb08a8-46ba-4ce3-bd17-3f018d705645n%40googlegroups.com.