By default, some SQL Server installations use Named Pipes for database connectivity. In many environments this works without issue, but in some cases Named Pipes can lead to connection timeouts or intermittent connectivity problems after periods of inactivity. Using TCP/IP often provides a more stable and reliable connection.
This guide explains how to enable TCP/IP on your SQL Server and configure the RedAnt client to connect using TCP.
Before you begin, ensure you have:
Once the service has restarted, SQL Server will accept TCP/IP connections.
After TCP/IP has been enabled on the SQL Server, update the RedAnt client configuration to use TCP rather than Named Pipes.
The second line of the file contains the SQL Server connection information.
If the file currently contains redantserver\redant, change it to tcp:redantserver\redant.
If the file currently contains np:redantserver\redant, change it to tcp:redantserver\redant.
Save the changes and close RedAntPCS.txt.
To improve connection stability:
The RedAnt client will now connect to SQL Server using TCP/IP rather than Named Pipes, which can help eliminate timeout and connectivity issues experienced after periods of inactivity.