Problem connecting my database with my ip address (cpanel)

Hi @T_B1 - Welcome to the community.

I would advise taking a look at the following post’s discussion that also mentions cPanel connection attempts and the associated solutions involving port opening from the cPanel side. I presume since you are able to connect locally, that there may be configuration from cPanel’s end that needs to be done for connectivity.

Regards,
Jason