Configuring for External Communications

For the Agent Controller to be visible to other clients, it must open a device that it can connect to. This connection is established using one or more ports on the deployment host. The Agent Controller uses different transport layers depending on the protocol being used by the client it is communicating with. By default, the Agent Controller uses port 10002 for communication with clients using the older protocol and port 10006 for communication with clients using the new protocol. Both are specified in the configuration file, serviceconfig.xml. With the old protocol, additional ports are specified for secure connections (10003) and file transfer operations (10005).

Specifying Different Ports for the Agent Controller

You can indicate that a different port is to be used by the Agent Controller by modifying the Port element within the <TransportLayer> sub-element.

To modify the port used for old protocol communication, follow these steps:

  1. Locate the serviceconfig.xml configuration file.
  2. Open it in an editor, and search for the following XML fragment:
        <TransportLayer loadlib="tptpCCTL" type="TPTP_CCTL">
            <Configuration>
                <Port>10002</Port>
    <SecuredPort>10003</SecuredPort> <FilePort>10005</FilePort> <IsDataMultiplexed>false</IsDataMultiplexed> <ProcessPolling>true</ProcessPolling> <Jvm>C:\Program Files\Java\j2re1.4.2_08\bin\client\jvm.dll</Jvm> <Version>4.2.0</Version> <SecurityEnabled>false</SecurityEnabled> <Hosts configuration="default"> <Allow host="LOCAL"/> </Hosts>
            </Configuration>
            <CommandExtractor>tptpCmdExtr</CommandExtractor>
        </TransportLayer>
     
  3. Change the value of the port attribute to the port number that you want the Agent Controller to use.

 

To modify the port used for new protocol communication, follow these steps:

  1. Locate the serviceconfig.xml configuration file.
  2. Open it in an editor, and search for the following XML fragment:
        <TransportLayer loadlib="socketTL" type="TPTP_SOCKET">
            <Configuration>
                <Port>10006</Port>
            </Configuration>
            <CommandExtractor>tptpCmdExtr</CommandExtractor>
        </TransportLayer>
     
  3. Change the value of the port attribute to the port number that you want the Agent Controller to use.

Note iconNote

The client application must specify the same port number as in this configuration file when establishing communication with this Agent Controller.

 

Related tasks
Locating the configuration files
Administering the Agent Controller
 

Related concepts

Backwards Compatibility in the Agent Controller


Copyright (C) 2005, 2006 Intel Corporation.