asp.net mvc *获取不到port问题解决

var IPandPort = Request.ServerVariables["HTTP_HOST"];

原文地址:https://www.cnblogs.com/zhtbk/p/4999914.html