在需要使用代理的地方添加如下code:

System.getProperties().put("socksProxySet","true"); 
System.getProperties().put("socksProxyHost","localhost"); 
System.getProperties().put("socksProxyPort","7575");

相关文章:

  • 2021-11-28
  • 2021-08-23
  • 2021-11-12
  • 2021-12-26
  • 2021-10-10
  • 2022-02-04
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2021-05-22
  • 2022-12-23
  • 2021-08-07
  • 2021-09-13
  • 2021-08-31
  • 2021-05-12
  • 2021-09-24
相关资源
相似解决方案