获取服务器端ip

System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"]

原文地址:https://www.cnblogs.com/muxueyuan/p/4087063.html