I am beginner in Network Programming. here is my very simple code:
System.setProperty("http.proxyHost","127.0.0.1");
URL url=new URL("http:\\www.google.com");
url.openConnection(); // Connection object is getting returned
My question is - If I am providing the proxy setting still my program is making direct connection with host . Why?