I have a VDS server running Windows Server Web 2008 and plesk 10 installed. I figured out I'm getting not the visitor IP but a fixed IP (178.18.198.2) at my website codes asp.net/php. I also get this IP in IIS log files. Can anybody explain what is happening?
My server ips are 178.18.198.90 - 178.18.198.94 and my subnet mask is 178.18.198.1. One of the websites running on this server is innovacube.com
Question on Stack Overflow about same problem Cannot get user IP address
UPDATE Company suggested me to use HTTP_CLIENT_IP header instead of REMOTE_ADDR, also for the IIS logs I have to use XCLIENT.DLL for Microsoft Internet Information Services ISAPI filter.
And here is another useful article: HOWTO: ISAPI Filter which Logs original Client IP for Load Balanced IIS Servers