title: "Couldn't connect to the RemoteTestNG Client" at launch of TestNG on OSX-mountain-lion
body: <p>I am attempting to run the most basic example test using Eclipse, Selenium, Maven, and TestNG. I can run a test with Eclipse (or IntelliJ), Selenium, and Maven, (jUnit also works) but when I try to add in TestNG, I get the following: </p>
  
  <p>"Couldn't connect to RemoteTestNG client. Make sure you don't have an older version of testng.jar on your class path. Reason: Timeout while trying to contact RemoteTestNG."</p>
  
  <p>I have followed several tutorials and youtube walkthroughs. I performed the same steps on a Windows 7 VM and it worked the first time, so I think I am doing the configuration properly (i.e. classpaths). </p>
  
  <p>I saw there were other similar topics:<br>
  <a href="https://stackoverflow.com/questions/14739996/timeout-while-trying-to-contact-remotetestng-in-selenium-on-mac">Timeout while trying to contact RemoteTestNG in Selenium on Mac</a><br>
  <a href="https://stackoverflow.com/questions/13440099/couldnt-contact-the-remotetestng-client-error-when-trying-to-run-tests">&quot;Couldn&#39;t contact the RemoteTestNG client&quot; error when trying to run tests</a></p>
  
  <p>but they were old and didn't seem to answer my question specifically. </p>
  
  <p>I have never used these tools before, nor am I very familiar with Macs, so I have, as of yet, not been able to try running the same thing from the command line as I don't know exactly what command to use. </p>
  
  <p>Is there a certain something I am missing or need to do for TestNG to work? Otherwise, I will have to always use the Windows VM which would be a pain. </p>
  
  <p><strong>Environment:</strong> <br>
  OS: OS X 10.8.5<br>
  TestNG: 6.8<br>
  Eclipse IDE for Java: Kepler SR1<br>
  Selenium: 2.38.0<br>
  Java: 1.7.0_45</p>
  
  <p>Thanks for your time. </p>