How can I know what the actual IPs of who open the site or hit on server from IIS Logs or Windows Firewall Logs or other way?
Windows Version : Windows Server 2008 R2 DataCenter
IIS Version : 7.5
How can I know what the actual IPs of who open the site or hit on server from IIS Logs or Windows Firewall Logs or other way?
Windows Version : Windows Server 2008 R2 DataCenter
IIS Version : 7.5
its simple you can use this function to find the ip of the client
string ipaddress;
ipaddress = Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
if (ipaddress == "" || ipaddress == null)
ipaddress = Request.ServerVariables["REMOTE_ADDR"];
hope it will help you bye