title: Java Setting up a Simple Proxy
body: <p>I use a vpn so I need a proxy to make a REST post on POSTMAN. So I setup a Proxy IP and port and it works...</p>
  
  <p>But in Java I get connection timeout even tho I setup the proxy programally.</p>
  
  <pre><code>System.setProperty("http.proxyHost",ip);
  System.setProperty("http.proxyPort",port);
  </code></pre>
  
  <p>What's the reason for this?</p>