title: java rmi -Djava.rmi.server.hostname=localhost still opens a socket listening on 0.0.0.0
body: <p>I use the <strong>-Djava.rmi.server.hostname=localhost</strong> option to make rmi listen on localhost only, but netstat shows the socket is listening on <em>0.0.0.0</em>.</p>
  
  <p>The strange thing is that the RMI RenewClean thread shows its using localhost.  E.g. RMI RenewClean-[localhost:59357]</p>
  
  <p>I assumed that if I set <strong>-Djava.rmi.server.hostname=localhost</strong> it should only be listening on 127.0.0.1</p>
  
  <p>Am I misunderstanding what java.rmi.server.hostname controls?</p>