code_zero 0 Posted June 9, 2020 Is there anyway to change the proxy after the client has been launched? I am working on a script that I would like to do a collection of tasks on one account and then log out and into another account on a different proxy. If anybody knows if this is possible and can point me into the right direction it would be greatly appreciated!
Pandemic 2850 Posted June 10, 2020 You can manually override the proxy by setting the system properties: System.setProperty("socksProxyHost", HOST); System.setProperty("socksProxyPort", PORT); System.setProperty("java.net.socks.username", USERNAME); System.setProperty("java.net.socks.password", PASSWORD);
code_zero 0 Author Posted June 10, 2020 39 minutes ago, Pandemic said: You can manually override the proxy by setting the system properties: System.setProperty("socksProxyHost", HOST); System.setProperty("socksProxyPort", PORT); System.setProperty("java.net.socks.username", USERNAME); System.setProperty("java.net.socks.password", PASSWORD); You're the best! THANKS!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.