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 (22.214.171.124) 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 126.96.36.199 - 188.8.131.52 and my subnet mask is 184.108.40.206. 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