mssqlserver.com: FAQ: How do I configure a connection to use tcp-ip sockets with SQL Server?
 


Search
  Home
  Articles
  Backup
  Books
  Certification
  FAQ
  Products
  Replication
  Scripts
  Seminars
  Training
  TSQL

MSDN Fourms
Philippine SSUG

  Resume

MHS Enterprises
FilAm Software
AcrylicAcetate.com
Bargain Humidors
Western Humidor



How do I configure a connection to use tcp-ip sockets with SQL Server?

Run the SQL Client Configuration program on the client in question and follow these steps :-

Select the Advanced Tab

In the Server box type in the name your application will use to reference the server.

For DLL Name select TCP/IP Sockets.

For a server name that will be resolved to a numeric IP address just enter the name into the Connection string. (This should work if you can PING that server by name.) For a numeric IP address just type the IP address into the Connection String.

If you want to use a different port from the default (1433 is the default) follow the IP name or address with a comma and the alternate port. For example: 123.123.123.123,1434

Hit the Add/Modify Button.

That should do it

Michael R. Hotek

All content on this site, except where noted, represents an original work of Michael R. Hotek and is protected by applicable copyright laws. The SQL Server FAQ is the sole work of Neil Pike. No page, portion of a page, or download may be used for commercial purposes in whole or in part without the express, written permission of the applicable author.