查询sqlserver端口号
exec sys.sp_readerrorlog 0, 1, ‘listening‘
原文:https://www.cnblogs.com/superelement/p/14780491.html