Unable to mssql_connect unless in my office

From: Date: Mon, 02 Jul 2007 03:09:45 +0000
Subject: Unable to mssql_connect unless in my office
Groups: php.windows 
Request: Send a blank email to php-windows+get-28166@lists.php.net to get a copy of this message
I have a very strange problem. If anyone has an insight please let me know. When my laptop is docked in my office I have no problem using mssql_connect to the SQL server running on localhost. When I take my laptop home I get the following error: Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost But something like "osql -S localhost -U sa -P <passwd>" works fine! If I connect to my office from home using checkpoint secure client then I can connect to localhost! If I'm not connected to my office then I can't connect to localhost. I am using XAMPP 1.6.2 on windows xp professional SP2.

« previous php.windows (#28166) next »