Change the port numbers for the Pentaho Server
Follow the instructions below to change the port through which the Pentaho Server runs:
Stop the Pentaho Server.
Navigate to the
/pentaho-server/tomcat/conf/
directory.Open the
server.xml
file with any text editor, and search for the value forDefine a non-SSL HTTP/1.1 Connector
.Change the port number in the connector port element below from 8080 to your preferred port number.
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 --> <Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
Save and close the
server.xml
file.Navigate to the
/pentaho-server/pentaho-solutions/system
directory and open theserver.properties
file with any text editor.Change the
fully-qualified-server-url
entry to match the new port number you specified inserver.xml
.fully-qualified-server-url=http://localhost:8080/pentaho/
Save and close the file.
Restart the Pentaho Server.
If you recently upgraded to Pentaho 6.0, you may need to remove the <context-param>
entry for the fully-qualified-server-url
from the /tomcat/webapps/pentaho/WEB-INF/web.xml
. If so, restart the Pentaho Server after removing it.
Last updated
Was this helpful?