Call now: (800) 766-1884  


 SQL Server Tips
 SQL Server Training

 SQL Server Consulting
 SQL Server Support
 SQL Server Remote DBA

 SQL Server Scripts
 Scripts Menu




  SQL Server Tips by Gama and Naughter


Use 0 as the port number


SQL Server will use the first free port between 1024 and 5000, instead of 1433 (TCP access to the database, usually remote). However, 1434 (UDP, to access and browse named instances) will not change. Let us suppose the first available port was 1027, SQL Server will take this port and used it there after. If many other programs are listening on ports, then the port number SQL Server will use will be the first one

it finds available. You can list the ports active on your machine by

using the "netstat -a" command line.


Select a port from 1024 to 5000


SQL Server will listen to any port selected, 1434 will not change. Obviously, no other application should use the port and the firewall should protect it. If the server is not always running, the port will be free and there is the possibility that other application might start using that port.


The above book excerpt is from:

Super SQL Server Systems
Turbocharge Database Performance with C++ External Procedures

ISBN: 0-9761573-2-2
Joseph Gama, P. J. Naughter


Burleson Consulting Remote DB Administration







Burleson is the America's Team

Note: The pages on this site were created as a support and training reference for use by our staff of DBA consultants.  If you find it confusing, please exit this page.

Errata?  SQL Server technology is changing and we strive to update our SQL Server support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:and include the URL for the page.

Burleson Consulting
SQL Server database support


Copyright 1996 -  2013 by Vaaltech Web Services. All rights reserved.

Hit Counter