Selenium: unable to connect to remote server

I am trying to run a simple test with Selenium, which someone in QA setup for me. This test passed before and passed, but now I keep getting the error message. I don’t know what this means, but I don’t think it is a problem with my code, I think it is a problem with Selenium. This is mistake:

failed: System.Net.WebException : Unable to connect to the remote server ----> System.Net.Sockets.SocketException : No connection could be made because the target machine actively refused it [IP ADDRESS] 

What does it mean? The “remote server” is actually my dev-box, so I can’t figure out why it cannot connect. I disabled my firewall and still nothing.

Is there something simple I'm missing? Is there a configuration file that I need to configure?

+7
selenium
source share
1 answer

Make sure you are using Selenium RC. I am using a simple Selenium.bat batch file that looks like this:

 java -jar c:\selenium\selenium-server.jar -multiwindow 

(- multiwindow prevents framekiller code breaking your test)

+4
source share

All Articles