How to get the Port Number of SQL server

Whenever I need to get the port number of SQL server then I need to execute some script of xp_regread but in some environment I don't have this feature enabled as it is undocumented SP it is not recommended one to get the Port number of sql server or you need to go to the serve

 
 
 
 
 
(2)
1,293 times
Add to favorites
Databases
12/11/2012
E-mail Twitter del.icio.us Digg Facebook