SQL Clone
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in

How can I configure SQL Server to listen on multiple TCP/IP ports?

Run the SQL Server Configuration Manager, expand SQL Server Network Configuration and select the protocols for appropriate instance. Double click TCP\IP to open the TCP\IP protocol properties. Select the IP Address tab and in IP All specify the port numbers separated by commas, for example: 1433,2433,2432. Ensure dynamic ports are disabled. Settings are shown in snapshot below:

Restart the instance for the changes to take effect and check your sql server logs and you will see something like below in error log:

“SQL server listening on,,,,,

SQL Server is now ready for client connections.”

Now that we know SQL Server is listening on all these ports we can do a small test by connecting to SQL Server in SQL Server Management Studio to verify the connectivity via each port:

Remember not to use 1434, which is a reserved UDP port for SQL Server instance “ping”.

Basit's SQL Server Tips

Basit Farooq is a Lead Database Administrator, Trainer and Technical Author. He has more than a decade of IT experience in development, technical training and database administration on Microsoft SQL Server platforms. Basit has authored numerous SQL Server technical articles, and developed and implemented many successful database infrastructure, data warehouse and business intelligence projects. He holds a master's degree in computer science from London Metropolitan University, and industry standard certifications from Microsoft, Sun, Cisco, Brainbench, Prosoft and APM, including MCITP Database Administrator 2008, MCITP Database Administrator 2005, MCDBA SQL Server 2000 and MCTS .NET Framework 2.0 Web Applications.


Leave a comment on the original post [basitaalishan.wordpress.com, opens in a new window]

Loading comments...