Possible Duplicate:
How can I get the client's IP address in ASP.Net MVC?
I have tried many solutions. But it still show the IP address : 127.0.0.1 . Actually, my address is not that one.
Can anyone help me please.
thanks.
Possible Duplicate:
How can I get the client's IP address in ASP.Net MVC?
I have tried many solutions. But it still show the IP address : 127.0.0.1 . Actually, my address is not that one.
Can anyone help me please.
thanks.
Request.UserHostAddress();
Or
Request.ServerVariables["REMOTE_ADDR"];