Beginner issue with database connect

Are you able to connect by shell?
Make sure no firewall/antivirus/vpn blocking your request