mardi 25 août 2015

how to set HMA proxy in java application

Here is how i am setting the proxy in my application

    System.setProperty("java.net.useSystemProxies", "true");
    System.setProperty("http.proxyHost","HMA");
    System.setProperty("http.proxyPort","1111");
    System.setProperty("http.proxyUser",username);
    System.setProperty("http.proxyPassword",password);

    System.setProperty("https.proxyHost","HMA");
    System.setProperty("https.proxyPort","1111");
    System.setProperty("https.proxyUser",username);
    System.setProperty("https.proxyPassword",password);

My original ip is 192.***

After running this application i am getting 10.***

My HMA showing ip is 199.***

I am not getting the vpn ip.



from Newest questions tagged java - Stack Overflow http://ift.tt/1WQGMdB
via IFTTT

Aucun commentaire:

Enregistrer un commentaire