title: PHP $_SERVER['REMOTE_ADDR'] empty
body: <p>Somehow <code>$_SERVER['REMOTE_ADDR']</code> returns an empty string, i have the same code (as part of a script) running on multiple servers and it works everywhere else, they are all the same setup.</p>
  
  <p>The weird thing is, when I restart apache and load the page, it works exactly once, if I reload the site + all the times after that, it's empty. I've had other people try, same result, empty.</p>
  
  <p>someone suggested it was something with IPv6 configuration, I have now completely disabled IPv6 but the problem persists.</p>