Changing the Http Server Port Number

The http server default port number is 9000, but you can change it if necessary. For example, you may want to run more than one http server on one computer and they need different ports.

To change the http server port number:

  1. Stop StarTeam Notification Agent.
  2. Each TomCat http server has a server.xml file. As you install StarTeam Notification Agent, a copy of TomCat is placed in a subfolder of the installation folder. That folder is named conf and, inside that folder, is the file named server.xml.

    Any additional installations of StarTeam Notification Agent result in additional copies of TomCat and reside in conf subfolders of those installation folders. Each of their server.xml files needs a different port number.

  3. Locate the following <Connector> statement:
    <Connector className="org.apache.catalina. connector.http.HttpConnector"
    port="9000" minProcessors="5" maxProcessors="75" enableLookups="true"
    redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="60000" />
  4. Change the port number to an appropriate number. For example, if the <Connector> statement contained: port=”9000” you might change it to: port=”9999”.
  5. Save the modified file.
  6. Start Notification Agent Setup.
  7. Open the desired configuration.
  8. In the Http Server Address field, enter the name of the computer, a colon, and the correct port number. For example, if the computer name is orion, you would use orion:9999.
  9. Save this configuration.
  10. Restart StarTeam Notification Agent or click its Refresh button. StarTeam Notification Agent will use the new port number.