

Connections timing out have always been a firewall issue for me.
Client sends packet, firewall drops packet, client waits for a reply that’ll never come. Client times out.
I would check firewall logs or temporarily disable it to see if it works without it.
so yeah check the firewall on the server, the client and in between ( if any ). That’s what I would do.
Hetzner has been solid for me ( and eu based if that is relevant for you ).