yes the vps where installed the sqlserver with the database, the port is enabled. The website server under aapanel is online but is not working, but if I test under another platform I don´t have that issue of connection.
Example I test on this lab:
This is not working (Local Network)
VPS1: Website Server (aapanel) ----> connect with -----> VPS2: Sqlserver + DataBase (Port 1433 Enabled)
This is not working (VPS1 public connection VPS_PUBLIC)
VPS1: Website Server (aapanel) ----> connect with -----> VPS_PUBLIC: Sqlserver + DataBase (Port 1433 Enabled)
This is working fine
Website Server (another platform hosting working on centos) -----> VPS_PUBLIC: Sqlserver + DataBase (Port 1433 Enabled)
This is working fine
Website Server (another platform hosting working on centos) -----> VP1: Sqlserver + DataBase (Port 1433 Enabled)
So I could consider something is missed on the aapanel with the pdo_dblib that is not working properly.