asp.net 获取真实的端口号

空明流光 / 2023-07-26 / 原文

HttpContext.Current.Request.Headers["host"]