ERROR 2002 (HY000): Can’t connect to server on ‘-----.i.aivencloud.com’ (115)

Hello, I am having an Error connecting to the database from my cPanel, I even copied the MySQL connection string from the Aiven Console, and tried it on the terminal, but it still did not work.
I am always getting “ERROR 2002 (HY000): Can’t connect to server on ‘----------.i.aivencloud.com’ (115)”
My Public IP filter is set to “Open to all”

Note: I am using a shared hosting, I don’t know if this could be the problem.