Java tutorial
import java.net.Proxy; import java.net.Socket; public class Main { public static void main(String[] argv) throws Exception { Proxy proxy = Proxy.NO_PROXY; Socket socket = new Socket(proxy); } }