You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

You can change the default ports for DTP applications to meet your infrastructure requirements. You should only follow these instructions if the default ports are unavailable. 

For UNIX, root permission is necessary in order to start the DTP Server on port 80, which is why the default port on Unix is set to 8080.

In this section:

Configuring the Web Server Port

The default port for DTP Server is port 80 for Windows and 8080 for Linux, but you can change the port by editing the server.xml file.

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the <DTP_INSTALL>/tomcat/conf/server.xml file.
  3. Locate the following element and change the value of the port property: 

    <Service name="PST">
    <Connector port="80" 
  4. Restart DTP services.

Configuring the Data Collector Port

DTP can receive data from any software product that supports the data format used by DTP. Data from testing tools is sent to Data Collector, which listens on port 8082 by default. You can change the default port by editing the DCServerConfig.xml file:

  1. Open the <DTP_DATA_DIR>/conf/DCServerConfig.xml file
  2. Locate the following element and change the value:

    <dc-server-port>8082</dc-server-port>
  3. Save the file.
  4. Restart Data Collector.

Configuring the JMS Events Broker Port

The JMS events broker provides real-time information about events that occur in DTP. The default port is 61617, but you can change it by editing the EventsConfig.xml file:

  1. Open the <DTP_DATA_DIR>/conf/EventsConfig.xml file.
  2. Locate the following element and change the value of the port property: 

    <transport-connector port="61617" />
  3. Save the file.
  4. Restart DTP services.

See Subscribing To DTP Events, for more information about using the JMS events broker, including topics currently available for subscription.

Configuring Session Database Server Port

The HyperSQL database server is responsible for session management data. The server uses port 9003 by default, but you can configure DTP to use a different port number by editing the <session-database-port> element in the PSTRootConfig.xml configuration file. The configuration file is in the <DTP_DATA_DIR>/conf/ directory.

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the PSTRootConfig.xml configuration file in an editor and uncomment the <session-database-port> element.
  3.  Specify a different value for the port number and save the file.
  4. Start DTP services.

Disabling 9.x Access to License Server Port

License Server communicates with 9.x versions of Parasoft code analysis and test execution tools over port 2002. If you are not using Licenser Server or are only using License Server with 10.x versions of Parasoft tools, you can disable port 2002 as a security best practice within your DTP infrastructure. The following instructions describe how to disable port 2002. The port used by 10.x tools, port 8080, will still remain open.  

  1. Stop DTP Server services (see Stopping DTP Services).
  2. Open the ls.conf file located in the <DTP_DATA_DIR>/LicenseServer/conf directory.
  3. Add an <enbabled>false</enabled>  element to the  <Server>  element:

    <?xml version="1.0" encoding="UTF-8"?>
    <Root>
        <Server>
            <enabled>false</enabled>
            <port>2002</port>
            <concurrent_connections_limit>100</concurrent_connections_limit>
            <soap_administration_enabled>true</soap_administration_enabled>
            <start_deactivated>true</start_deactivated>
        </Server>
        ...
    </Root>
  4. Save the file and restart DTP services. 


  • No labels