title: Java SOCKS proxy
body: <p>Does the socksProxyHost property require an IP address?</p>
  
  <pre><code>System.setProperty("socksProxyHost", preferences.getProxyHost() );
  </code></pre>
  
  <p>Setting it like above, if I provide 127.0.0.1, I get connected to the proxy on my localhost. But if I provide localhost, it does not connect it. I have no other machines on the LAN I can use to this. So does anyone know if it works with hosts names or do I have to resolve the host and pass in an IP?</p>