If you have set the BA Server to run on a specific IP address or hostname other than the default 127.0.0.1, you must modify the trusted proxy to match that address or hostname for Pentaho plugins to run as expected. Additionally, if you have applications that access BA Server resources, such as REST APIs, you must add that application's IP address so that the BA Server will accept those requests.
- Stop the BA Server.
- Open biserver-ee/tomcat/webapps/pentaho/WEB-INF/web.xml and search for TrustedIpAddrs.
The param-value immediately below TrustedIpAddrs is a comma-separated list of IP addresses that should be trusted.
- Add the IP address of the host machine.
<filter> <filter-name>Proxy Trusting Filter</filter-name> <filter-class>org.pentaho.platform.web.http.filters.ProxyTrustingFilter</filter-class> <init-param> <param-name>TrustedIpAddrs</param-name> <param-value>127.0.0.1</param-value> <description>Comma separated list of IP addresses of a trusted hosts.</description> </init-param> </filter>
- Start the BA Server.