Skip to main content Skip to complementary content

Configuring Tomcat to use a proxy server


  1. Stop your Tomcat server.
  2. Set the configuration according to the way Talend Administration Center is run:
    • If you run Talend Administration Center as a server module.
      1. Go to <TomcatPath>\bin, and edit the setenv.bat file. If the file does not exist, create it.
      2. Add the following parameters, changing the parameters to match with your configuration:
        set CATALINA_OPTS=%CATALINA_OPTS% # Specify the host name or IP address of your HTTP proxy server. You can use this parameter for http and https host names.
        set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.proxyPort=YourHttpProxyPort # Specify the port number of your proxy server.
        set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.nonProxyHosts="localhost||" # Specify a list of hosts separated by "|" that do not require access through your proxy server.
        For example:
        set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.proxyPort=3128
        set CATALINA_OPTS=%CATALINA_OPTS% -Dhttp.nonProxyHosts="localhost||"
      3. In case you use a proxy with authentication, go to <tomcat_path>/WEB-INF/classes/ file and uncomment the following lines:
        • proxy with the HTTP protocol:
        • proxy with the HTTPS protocol:
    • If you run Talend Administration Center as a Windows service, change the Java properties using Windows command prompt:
      1. Run the following commands:
        <tomcat_directory>\bin\tomcat9w.exe //ES//talend-tac-x.x.x
        <tomcat_directory>\bin\tomcat9w.exe //ES//talend-tac-x.x.x ++JvmOptions=-Dhttp.proxyPort=YourHttpProxyPort
        <tomcat_directory>\bin\tomcat9w.exe //ES//talend-tac-x.x.x ++JvmOptions=-Dhttp.nonProxyHosts="localhost||" 
        For example:
        C:\Talend\7.3.1\tac\apache-tomcat\bin\tomcat9w.exe //ES//talend-tac-7.3.1
        C:\Talend\7.3.1\tac\apache-tomcat\bin\tomcat9w.exe //ES//talend-tac-7.3.1 ++JvmOptions=-Dhttp.proxyPort=3128
        C:\Talend\7.3.1\tac\apache-tomcat\bin\tomcat9w.exe //ES//tvalend-tac-7.3.1 ++JvmOptions=-Dhttp.nonProxyHosts="localhost||" 
    For more information about proxy configuration, see
  3. Restart your Tomcat server.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!