Remote address

Is there any reason why on my localhost test server in Chrome, Firefox and IE10 the value of both $_SERVER[‘SERVER_ADDR’] and $_SERVER[‘REMOTE_ADDR’] is ::1 but in Opera they are both 127.0.0.1 ? I expected them to be 127.0.0.1

Thanks G :slight_smile:

I’m assuming you may be on Windows, if so open your C:\windows\system32\drivers\etc\hosts file and find a line that contains ::1 and place a # at the front of it. Restart Apache or IIS for the changes to take effect.

Ah, thanks - yes it is on Windows. G:)