Shared web hosting often blocks outgoing connections to port 1433, the default SQL Server port, so the website cannot reach the database on your VPS even when tools on your own PC can.
- On the VPS open SQL Server Configuration Manager > SQL Server Network Configuration > Protocols > TCP/IP > IP Addresses and, under IPAll, set TCP Port to a port your hosting allows (the topic starter used 3306).
- Restart the SQL Server service.
- Allow the new port as inbound TCP in the VPS firewall, ideally only from your hosting's IP address.
- Use the new port in the WebEngine database settings and reload the site.