I have already tried all solutions in Stack Overflow question How to get a user's client IP address in ASP.NET?. It gives me the server's IP address, not the client's LAN IP address.
I need to get client's local IP address, and it must be seen as 192.168.2.1, but I always get the server's IP address instead of it.
Here is my code:
System.Web.HttpContext context = System.Web.HttpContext.Current;
string ipAddress = context.Request.ServerVariables["LOCAL_ADDR"];
There is a website doing this, http://net.ipcalf.com/.
How do I solve this issue?