I am trying to get the current users IP address and it works locally but now that my project is live it isn't grabbing an IP address at all.
Here is what I am doing that worked locally:
var context = new PrincipalContext(ContextType.Domain);
var principal = UserPrincipal.FindByIdentity(context, System.Web.HttpContext.Current.User.Identity.Name);