in reply to Getting IP 127.0.0.1 as REMOTE_ADDR
The most likely reason is that your hosting provider has set-up some sort of front end proxy between your CGI script and the public accessing them.
You should probably check the documentation from your hosting provider. There is probably another environment variable available to get the real remote IP address.
|
|---|