如果有反向代理的情况下,获取最原始的IP的办法

HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_HOST"];

原文地址:https://www.cnblogs.com/llcdbk/p/6892790.html