We run Cucumber tests through Bamboo. The Bamboo agents are on Windows server, that has Chrome installed on it. The tests can be run on the server manually, but when we run them through Bamboo they throw the following error: No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 9516 (Errno::ECONNREFUSED).
The same tests run successfully if we have them connect to a Selenium server than runs on the same server as the Bamboo agent.