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.
Yes, see this example.
You would replace localhost:50051
with the remote server's fully-qualified domain name (or IP address) and port.