"How do I configure a proxy in RapidMiner Server"

User13User13 Member Posts: 155 Maven
edited May 2019 in Knowledge Base


RapidMiner Server cannot execute Web mining operators or open files from URLs.


In many corporate networks, network access is possible only via a proxy. If that is not configured correctly, RapidMiner Server cannot access the Internet.


In RapidMiner Studio, proxy settings can be made via Tools > Preferences > System. Enable proxies for the individual protocols, HTTP, HTTPS, and FTP independently. Ask your network administrator for proxy host, port, and credentials. Note that oftentimes it is not necessary to use a proxy in Intranets. That means that if you to connect RapidMiner Studio to RapidMiner Server you may want to bypass the proxy. In that case, enter the hostname running RapidMiner Server into the field http.nonProxyHosts and https.nonProxyHosts. RapidMiner Studio needs to be restarted for these settings to take effect.

The same settings can be applied for RapidMiner Server, but it may be wise to check the settings in RapidMiner before applying them to the server. Once the correct settings are known, you need to edit the configuration file.

  • On Windows, edit the file bin\standalone.conf.bat. The last line should read

  • Before that line, add two lines saying

    set JAVA_OPTS="%JAVA_OPTS% -Dhttp.proxySet=true -Dhttp.proxyHost=host -Dhttp.proxyUsername=user -Dhttp.proxyPassword=password" set JAVA_OPTS="%JAVA_OPTS% -Dhttps.proxySet=true -Dhttps.proxyHost=host -Dhttps.proxyUsername=user -Dhttps.proxyPassword=password"
  • On Linux and Unix, you should edit the file bin/standalone.conf. At the end, add two lines

    JAVA_OPTS="$JAVA_OPTS -Dhttp.proxySet=true -Dhttp.proxyHost=host -Dhttp.proxyUsername=user -Dhttp.proxyPassword=password" JAVA_OPTS="$JAVA_OPTS -Dhttps.proxySet=true -Dhttps.proxyHost=host -Dhttps.proxyUsername=user -Dhttps.proxyPassword=password"

Sign In or Register to comment.