code_zero 0 Share 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! Link to comment Share on other sites More sharing options...
Pandemic 2802 Share 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); Link to comment Share on other sites More sharing options...
code_zero 0 Author Share 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.