System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"] 转载于:https://www.cnblogs.com/muxueyuan/p/4087063.html