VBAHole22 Posted May 10, 2005 Posted May 10, 2005 I am trying to get the ip address of users hitting my web service. I have tried the following 2 constructs: Context.Request.ServerVariables["remote_addr"]; Context.Request.UserHostAddress.ToString(); With no success. Sometimes I will get a real ip address. Usually the first time during the day that I try it but then after that all I get is 127.0.0.1 I have tested this from several different system with the same results. Quote Wanna-Be C# Superstar
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.