Java Proxy settings

/ Published in: Java
Save to your folder(s)

Simple way to configure the JVM to use the proxy in the network

Copy this code and paste it in your HTML
  1. System.getProperties().put( "http.proxyHost", "" );
  2. System.getProperties().put( "http.proxyPort", "3128" );


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.