I am developing a web application using Microsoft Dot Net Framework 2.0 ( Asp.net/ Vb.Net), I need to capture application host server Ip address, but not the server name. I have used System.Web.HttpContext.Current.Request.ServerVariables.Item("LOCAL_ADDR"). I am able to capture ip address when access the page from remote machine. But if I access the application on the same applicatoin server, I am getting as "local host" instead of the ip address. But I need to get the ip address of the application server machine, irrespective of whether I access the application on the same server or different machine.