Thank this author by sharing:
By Vijendran R,
This script could be used on both SQL 2005 and SQL 2000 instances to find the TCP/IP Port of the SQL instance.
As a member of SQLServerCentral, you get free access to loads of fresh content: thousands
of articles and SQL scripts, a library of free eBooks, a weekly database news roundup,
a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals
that makes it such a success.