Strangely enough, I can connect from a another computer in the network but not from the MSSQL server itself.
Like this it works:
PC1 apache/php (eg.192.168.100 .3) to:
PC2 MSSQLSERVER(eg. 192.168.100.240 )
with this configuration:
$server = "192.168.100.24 0,3730";
$user = "sa";
$passwd = "mypass";
$conn = mssql_connect($ server, $user, $passwd);
But like this not:
PC2 apache/php (192.168.100.24 0)
PC2 MSSQLServer(192 .168.100.240 -> the same pc)
with this configuration:
$server = "127.0.0.1,3730 ";
$user = "sa";
$passwd = "mypass";
$conn = mssql_connect($ server, $user, $passwd);
Any clues?
thnks
Like this it works:
PC1 apache/php (eg.192.168.100 .3) to:
PC2 MSSQLSERVER(eg. 192.168.100.240 )
with this configuration:
$server = "192.168.100.24 0,3730";
$user = "sa";
$passwd = "mypass";
$conn = mssql_connect($ server, $user, $passwd);
But like this not:
PC2 apache/php (192.168.100.24 0)
PC2 MSSQLServer(192 .168.100.240 -> the same pc)
with this configuration:
$server = "127.0.0.1,3730 ";
$user = "sa";
$passwd = "mypass";
$conn = mssql_connect($ server, $user, $passwd);
Any clues?
thnks
Comment