Jump to content

[SOLVED] No connecting to SQL from application


darrelll

Recommended Posts

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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.