title: Direct connection to Internet without Proxy
body: <p>Is it possible to make a Direct connection to the Internet without using a Proxy.</p>
  
  <p>Consider a case that my Organization has a Proxy and I use the DIRECT option given in the Java Proxy class.</p>
  
  <pre><code>SocketAddress addr = new
  InetSocketAddress("webcache.mydomain.com", 8080);
  Proxy proxy = new Proxy(Proxy.Type.DIRECT, addr);
  </code></pre>
  
  <p>If you go by the documentation it states
  <strong>DIRECT which represents a direct connection, or absence of proxy.</strong></p>
  
  <p>Which is exactly the way it behaves. When I use this option, I dont have to give any Proxy details and I can access the content from the Internet.</p>
  
  <p>I have three questions</p>
  
  <ol>
  <li>As per my understanding if an Organization has a Proxy, all network
  traffic should get routed through the Proxy. No one should be able
  to access the Network directly ?</li>
  <li>I also noted that if I remove the Proxy details from IE, I can not
  access the Web :-( How can Java still do it ?</li>
  <li>If in any Organization you can access both with the Proxy and
  Directly, how does the firewall block certain sites ? How does the
  firewall even work ?</li>
  </ol>
  
  <p>Thanks in advance.</p>