Allowing endpoints to connect to a broker
To allow the broker to accept connections from controllers and targets you can define and configure inbound connections using the trc_broker.properties file.
About this task
Note: An additional HTTPS connection can be added into the Broker configuration.
It is possible to configure this new connection to the same port of the existing Inbound
connection. It is however required to retain the existing Inbound connection in order to allow
connection with all the Remote Control components.
Configure any inbound connections when
configuring the trc_broker.properties file. For more details about editing
this file, see Configuring the broker properties. Note:
To configure inbound connections complete the following steps:- Do not prefix with # or ! as these are reserved for comments in properties files.
- If you want to include spaces in the prefix you have to escape them with \
for example : my connection.ConnectionTypeshould be defined as my\connection.ConnectionType
Procedure
- Configure the following parameters within the trc_broker.properties file
- ConnectionType
- Defines the type of connection. Should be set to Inbound or Inbound6 when
you are using IPv6 networks.
For example: my\connection.ConnectionType=Inbound - PortToListen
- Defines the TCP port that endpoints should use to connect to this broker. The port for listening for inbound connections. Required parameter.
- AllowEndpoints
- Determines whether endpoints can connect to this broker.
- Yes
- Endpoint connections can be made to this broker. This is the default value.
- No
- Endpoint connections cannot be made to this broker.
- AllowBrokers
- Determines whether other brokers can connect to this broker. Set to No or
<blank> means other brokers cannot connect to this broker. If
other brokers can connect to this broker, provide a list of brokers that are allowed to
connect. For example
broker1.company.com,broker2.company.com,broker3.company.com.Note: The hostnames listed here must match the certificate and the hostnames used when registering the brokers in the remote control server.
- Save the file.