Is it possible to connect GPRC client in Python or any language to a remote server using DNS or an actual IP address?. If you can provide a code snippet that would be great.
Asked
Active
Viewed 996 times
1 Answers
1
Yes, see this example.
You would replace localhost:50051
with the remote server's fully-qualified domain name (or IP address) and port.

DazWilkin
- 32,823
- 5
- 47
- 88
-
1This did not work. I have tried and still getting connection issues. Also, if the server has credentials how I can supply the credentials. – Osama Natouf Oct 07 '21 at 16:13
-
1Please provide more information than "this did not work". What exactly did you try? What output|logs were produced by the client and server? Providing credentials is a different question and is explained on the site that I referenced: https://grpc.io/docs/guides/auth/ – DazWilkin Oct 07 '21 at 18:47