I am getting the wrong client IP address
Posted
by Vibin Jith
on Stack Overflow
See other posts from Stack Overflow
or by Vibin Jith
Published on 2010-04-10T07:14:16Z
Indexed on
2010/04/10
7:43 UTC
Read the original article
Hit count: 291
ASP.NET
I am running an ASP.NET application. The web server is located on the same system. In the code behind I just want to get the IP address of the requesting client. I am using this code:
Request.UserHostAddress
But I am getting a wrong address: 127.0.0.1
. My system IP address is 198.162.0.27
.
© Stack Overflow or respective owner