PHPUnit_Framework_Exception: Could not connect to the Selenium RC server when I run with Hudson
问题 I have set up Hudson CI Server and running PHPUnit test with Selenium (big thanks to this post!). Now I am running Hudson server and Selenium server on my localhost. I set up Hudson as port 8080 (default) and Selenium -port 1234 as it conflicts otherwise. However, every time I run Selenium test, I get a following error: PHPUnit_Framework_Exception: Could not connect to the Selenium RC server. /Users/***/.hudson/jobs/Selenium/workspace/sampleTest.php:28 /usr/lib/php/phing.php:37 where line 28