Connection refused
Issue
Connection refused on host computernameThe agent controller can be configured to restrict playback to the local computer only. If the agent controller on an agent computer is configured for local playback only, it will not accept connections from other agent controllers. This error message might display if firewalls are active on the local computer or the agent computer.
The test run stops.
Firewalls
Disable firewalls on both the local computer and the agent computer. Verify that the agent controller is configured correctly.
If you do not want to disable firewalls, you can instead enable a firewall-aware connection.
Configure agent controller on Windows
To configure the agent controller on Windows:
- Stop the agent controller.
cd AgentController/bin
net stop "Rational Agent Controller"- Run the configuration utility.
setconfig
- Accept all of the default values except for network access mode. Set network access mode to ALL.
- Start the agent controller.
net start "Rational Agent Controller"
Configure agent controller on Linux
To configure the agent controller on Linux:
- Stop the agent controller.
cd AgentController/bin
./RAStop.sh- Run the configuration utility.
./SetConfig.sh
- Accept all of the default values except for network access mode. Set network access mode to ALL.
To start the agent controller.
./RAStart.sh