Getting org.openqa.selenium.TimeoutException: No connection could be made because the target machine actively refused it.

Getting org.openqa.selenium.TimeoutException: No connection could be made because the target machine actively refused it.

This particular error message means that your computer could connect to the target server but the server refused the connection. A common cause of this error is that you connected to the wrong port when creating a connection. If you know that the port is correct then it is also possible that the server's firewall blocked your machine from connecting.

Leave a reply

Your email address will not be published. Required fields are marked*

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.