:
" , -,
, (), :
System.setProperty(
"http.proxyHost",
MY_PROXY_HOST);
System.setProperty(
"http.proxyPort",
MY_PROXY_PORT);
in Netbeans, you can turn off proxy settings when you run the application to override it in code by going to:
Project - Properties - Deployment - Disable proxy detection on application launch
.
source
share