i own a6 pro, but i can't connect to my database over the internet.

i have tested the c-script with a local database... no problem, it works fine.
i have tested the online database with php... no problem, i can connect the online database with php.

can anyone help me, connecting my online database via c-script?