I used code below to get client ip with asp.net before but after I moved to VDS this function begin returning only my subnet mask which is 178.18.198.1 or 178.18.198.2. Can
I use
IP.Text = Request.UserHostAddress;
In C#. Does that work for you?