在Java程序中设立代理

在Java程序中设置代理Run as -- Run configuration: -Dhttp.proxyHost[代理IP地址] [空] -Dhttp.proxyPo

在Java程序中设置代理

Run as --> Run configuration:

 

-Dhttp.proxyHost=[代理IP地址] [空格] -Dhttp.proxyPort=[端口]

比如:

-Dhttp.proxyHost=10.56.2.3 -Dhttp.proxyPort=8080

 

1楼Wentasy3天前 17:05
学习了。