I tried passing the public IP with the --endpoint ...
# client
g
I tried passing the public IP with the --endpoint flag but got the same error. The machine does have internet access.