How to allow the iGrafx Platform to use a proxy when connecting to other servers
In some corporate networks, the iGrafx Platform has no direct access to the internet or other machines on the network and needs to go through a proxy server. Functionalities that might require this are:
- Automation deployment to a TiM server
- Online License Activation
First try the built-in setting: Proxy server and port (servername:port) under Admin → Server Settings → General Configuration — see Server settings. If your deployment needs the whole application server to use the proxy instead, the following explanations show how to set that up.
Proxying with a predeployed iGrafx Platform under Windows
Run INSTALLATION_DIRECTORY/windows/manage_service.bat SERVICE_NAME
In the following UI, switch to the Java tab , add these system parameters in the Java Options field and adjust them according to your proxy setup:
-Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=httpsproxy.com -Dhttps.proxyPort=8443
Proxying with a custom Tomcat installation
-
Stop the tomcat service
-
Find
catalina.batorcatalina.shfor your Tomcat installation -
Add the following line to the file
set "JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=proxy.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=httpsproxy.com -Dhttps.proxyPort=8443" -
Replace the respective parameters for HTTP and HTTPS proxying with the settings of your proxy system
-
Save the file and start Tomcat
Other application servers
Make sure the aforementioned system properties are set through the means that are commonly used with your application server
More information
More information on these system properties can be found in the official Java networking properties documentation