# Configuring TIBCO Accelerator Client

You can modify the RocketStreamConfig.xml file to configure the TIBCO Accelerator client.

You have to change the routing table to instruct the TIBCO Accelerator client which TIBCO Accelerator server it has to send the files to.

## Procedure

1. On the command line, navigate to the $CFROOT/Accelerator directory.
2. Open the RocketStreamConfig.xml file using any text editor.
3. Navigate to `<routing-table>` element and modify the values.
   You can set up multiple `<route>` elements for multiple servers. In each `<route>` elements, there are two `<destination>` elements:
   - The first `<destination>` element defines the destination host, which is the IP address of the platform server responder.
   - The second `<destination>` element defines the gateway host, which is the IP address of the TIBCO Accelerator server. The gateway host receives the transferred files and pass them to the destination host.
   Note: You can also modify the default port numbers used for various protocols. The port numbers must match both the source and destination computers.
   The following is an example of the routing table:

       <routing-table>
       	<route>
       		<!-- final destination host name or IP address -->
       		<destination>10.10.10.10</destination>
       		<!-- remote accelerator host name or IP address and  ports for each supported protocol -->
       		<remote-accelerator>
       			<destination>192.168.1.10</destination>
       			<ports>
       				<pdp>9002</pdp>
       				<udp>9000</udp>
       				<tcp>9000</tcp>
       			</ports>
       		</remote-accelerator>
       	</route>
       </routing-table>

4. Optional: Navigate to the `<listener>` element at the top of the RocketStreamConfig.xml file if you have to change the default port 9099 and IP address that the TIBCO Accelerator client binds to.
   The following is the default set of port number and IP address:

       <listener type="tcp" enabled="true">
       	<address>0.0.0.0</address>
       	<port>9099</port>
       </listener>

5. Stop and start the TIBCO Accelerator daemon to make the changed RocketStreamConfig.xml file effective.
   For more information, see Managing TIBCO Accelerator.

Copyright © 2022. TIBCO Software Inc. All Rights Reserved.