ProxyHostURL and ProxyPortNo in the Extra JVM parameters

0
Can anyone provide an example of how to configure ProxyHostURL and ProxyPortNo in the Extra JVM parameters of the Project configuration. I have tried configuration of the JVM parameters but they do not work. I suspect that I have something missing. Can anyone provide the exact string they have used for to give me an idea on how to fix.
asked
1 answers
0

Keep in mind you'll have to specify the proxy for http and https separately.

-Dhttp.proxy.server=localhost -Dhttp.proxy.port=8888 -Dhttps.proxy.server=localhost -Dhttps.proxy.port=8888

In addition to those options you could also use additional options such as:
-Dhttp.proxyUser=userid
-Dhttp.proxyPassword=password
-Dhttp.nonProxyHosts=*.nonproxyrepos.com|localhost

(Don't forget to specify this for http and https)

answered