Python GRPC Client to remote server with different IP address

1.2k views Asked by At

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.

1

There are 1 answers

2
DazWilkin On BEST ANSWER

Yes, see this example.

You would replace localhost:50051 with the remote server's fully-qualified domain name (or IP address) and port.