Connect my pc's database to the hosting

0

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');

    
asked by anonymous 05.08.2018 / 09:30

0 answers