I want to connect the hosting to the local database of my PC I'm using linux. I have the doors 1604 and 8080 open. When I access my ip: port on an external network, I can access my website. But when I go to the hosting, it does not connect to the local database.
$ conn = mysqli_connect ('200.22X.XXX.XXX', 'exampleUser', 'examplePass',' bank ', '8080');