This may be because of the use of NAT in AWS and GCP, such that the source host doesn’t know the external IP that can be used to reach it from the remote host.
Sounds similar to Failed to connect to LXD server
This may be because of the use of NAT in AWS and GCP, such that the source host doesn’t know the external IP that can be used to reach it from the remote host.
Sounds similar to Failed to connect to LXD server