Proxy server

How to configure a proxy server

Manual configuration from the user interface

From the main menu, open File > Preferences (Alt + P) and select Proxy Server.

The default configuration is Direct connection (no proxy) and by clicking on Manual proxy configuration you can define a custom proxy server (in the image below, a local proxy like Squid).

To fill in the fields you must refer to the Java documentation.

dcm4chee-web3

Configuration at launch

For setting JVM properties at launch, the selection in user interface must be Direct connection (no proxy) or configuration at launch. The Java options can be set in the section “[JavaOptions]” of Weasis.cfg.

Set the default system proxy

-Djava.net.useSystemProxies=true

Set a local proxy like Squid

-Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128

Set a proxy in specific domain

-Dhttps.proxyHost=“proxy.mydomain.com” -Dhttps.proxyPort=“8080” -Dhttp.proxyHost=“proxy.mydomain.com” -Dhttp.proxyPort=“8080” -Dhttp.nonProxyHosts=”*.mydomain.com|localhost” -Dhttp.proxyUser=“user” -Dhttp.proxyPassword=“password”