darrelll Posted September 22, 2008 Share Posted September 22, 2008 HI, I have configured PHP with IIS on a vista box. I have tried everything to connect to the SQL2005 via the application and keep etting this error: PHP Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: localhost,1433 in C:\inetpub\wwwroot\Loinc\chkaccess.php on line 44 Has anyone had similar problems? Quote Link to comment https://forums.phpfreaks.com/topic/125290-solved-no-connecting-to-sql-from-application/ Share on other sites More sharing options...
corbin Posted September 22, 2008 Share Posted September 22, 2008 Try to telnet to localhost 1433 and see if it goes through. Quote Link to comment https://forums.phpfreaks.com/topic/125290-solved-no-connecting-to-sql-from-application/#findComment-648065 Share on other sites More sharing options...
darrelll Posted September 22, 2008 Author Share Posted September 22, 2008 Thanks.............I could not telnet to the port, it was closed. I turned changed the default 1433 to 1434 tcp/ip via sql server configuration manager and it worked. Well, it logged me into the application. Now there seems to be some other errors, but that might progammer errors! haha Thanks again Darrelll Quote Link to comment https://forums.phpfreaks.com/topic/125290-solved-no-connecting-to-sql-from-application/#findComment-648127 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.