Connection to SQL Server from PHP script from hosting

Good afternoon.
I’m trying to connect with a PHP script (hosted) to a computer with SQL Server.
The problem is that the network PCs through the ADSL router go to the Internet under one static IP.
How to connect in this case?


Answer 1, authority 100%

It is necessary to configure the so-called port forwarding on the router. In DLink, for example, this section is called Port Mapping. Specifies the port and IP of the computer on the internal network where you want to transfer the connection. MySQL default port is 3306


Answer 2, authority 33%

Take an external IP for the computer with the server or reconfigure the router