看是否开启代理,去关闭
![](https://img-blog.csdnimg.cn/img_convert/78916be6fdfa7566a46092e656039e96.png)
![](https://img-blog.csdnimg.cn/img_convert/58726c6003c1536f80661083aa4d6031.png)
如还是无法使用 请求前加
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "127.0.0.1");
System.setProperty("http.proxyPort", "65352");
看是否开启代理,去关闭
如还是无法使用 请求前加
System.setProperty("http.proxySet", "true");
System.setProperty("http.proxyHost", "127.0.0.1");
System.setProperty("http.proxyPort", "65352");