Changing the Web Application Port
By default, your pulse™ server's web interface will listen on port 8080. If you are unable to use this port for any reason, you have two ways to specify a custom port.
Command line
When starting pulse™, you can specify the port with the -p <port> argument. For example, to make pulse™ listen on port 8000:
Configuration file
On startup, pulse™ will look for a configuration file in the $USER_HOME/.pulse/config.properties file. This file contains properties in the format:
<name>=<value>
To have pulse™ start on a custom port, use the webapp.port property. For example, to make pulse™ listen on port 80:
For the change to take effect, you will need to restart your pulse™ server.
When running as pulse as a windows service.
When you run pulse as a windows service, things are a little different. The service is not owned by any particular user, and the command line is wrapped up in a service wrapper. So how do we change the web application port? There are two options.
Command line
Although the command line is not directly accessible, it can be modified by changing the $PULSE_HOME/bin/wrapper.conf file. To set the web application port, you will need to add an extra java parameter as shown below:
Look for the following content in the wrapper.conf file:
# Java Additional Parameters
wrapper.java.additional.1=-Dpulse.home=..
wrapper.java.additional.2=-Djava.awt.headless=true
wrapper.java.additional.3=-Djava.util.logging.config.class=com.zutubi.pulse.logging.ConsoleConfig
And add the following:
wrapper.java.additional.4=-Dwebapp.port=8081
This will tell pulse™ to start on web app port 8081. Set this to which ever port is necessary.
Configuration file
Although the service is not run by a specific user, the configuration file is still available. Rather than being located at $USER_HOME/.pulse/config.properties it will be located in the <DRIVE>:\.pulse\config.properties directory, where the <DRIVE> is the drive on which pulse™ has been installed. So, if pulse™ is installed in C:\Program Files\Zutubi\Pulse Server, then the configuration file will be located in C:\.pulse\config.properties.