/ To Find the SQL Port number

To Find the SQL Port number

we can use below query to find out the sql port number in sql server 

 
USE MASTER
GO
xp_readerrorlog 0, 1, N'Server is listening on'
GO