'Cubano demo project gives error ...selenium.TimeoutException: No connection could be made because the target machine actively refused it

I downloaded the Cubano demo project and tried to run one of the feature files as a Junit test. THe Firefox browser does open but nothing happens and I see errors in the console ...

Cubano demo project gives error ...

org.openqa.selenium.TimeoutException: No connection could be made because the target machine actively refused it. (os error 10061)

I have been searching online and this issue seems to come up in various contexts. Based on the answers given I have tried..

  1. Disabling my firewall
  2. Set my Firefox browser to 'No Proxy'

But am still getting the error. One other post said that this could be that the server is not listening on the right port. I am just running this from my local machine. How do i check what address and port I am using? And is this likely to be the issue and if so how to I configure these?

Any advice would be much appreciated



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source