How do i connect to the Database running on the idx worskpace through my local system or any other workspace

Here is the db server i am running on the project:

so i made the port public and now i wanted to connect it through other workspace using php mysqli

just covered the public access port for security purpose and the output i get is:

can anyone help??