Java JVM proxy setting

-Dhttp.proxyPort=8080(your port)

-Dhttp.proxyHost=192.168.19.200(your IP)

-Dhttp.nonProxyHosts=localhost|127.0.0.1(排除localhost,和127.0.0.1使用proxy)

-Dhttps.proxyPort=8080(your port)

-Dhttps.proxyHost=192.168.19.200(your IP)

-Dhttps.nonProxyHosts=localhost|127.0.0.1(排除localhost,和127.0.0.1使用proxy)

原文地址:https://www.cnblogs.com/mikelij/p/6194100.html