do You can successful connect from this server, with this settings, to this cloud server with mysql command line client?
- what is Your settings? (attache picture)
because it Windows - double check You use the same settings, and check Firewall rules
Firewall could block connection for one application and enable for other
quick check - disable firewall (if separate machines - on both) and check - if connected, You know - where to check after