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