title: Selenium RemoteWebDriver giving UnreachableBrowserException
body: <p>I am implementing selenium grid and the capability to launch the tests on a remote machine using the RemoteWebDriver.</p>
  
  <p>I am invoking the RemoteWebDriver instance as in:</p>
  
  <pre><code>private static String browserType = "firefox";
  
  public static boolean setup(String browserType) throws Exception,MalformedURLException  {
  try {
     logger.debug("Launching the browsersession");
     DesiredCapabilities capability= new DesiredCapabilities();
     capability.setBrowserName(browserType);
     webdriver1 = new RemoteWebDriver(new URL("http://www.ipaddress.com:4444/wd/hub"), capability);
  }
  
  webdriver1.get(http://url of the webserver);
  
  
  
  }
  </code></pre>
  
  <p>I started the selenium-standalone as hub with 
  java -jar selenium-server-standalone-2.30.0.jar -role hub</p>
  
  <p>and the node as
  java -Dwebdriver.chrome.driver=C:/Chrome/chromedri
  ver.exe -jar selenium-server-standalone-2.30.0.jar -role webdriver -hub <a href="http://www.ipaddress.com:4444/grid/register" rel="nofollow">http://www.ipaddress.com:4444/grid/register</a> -port 5555 -browser browserName=chrome</p>
  
  <p>Hub was giving an error: INFO: I/O exception (java.net.SocketException) caught when connecting to the tar
  get host: Permission denied: connect</p>
  
  <p>When I run the tests from Eclipse, there is an exception:
      org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session.    Possible causes are invalid address of the remote server or browser start-up failure.</p>
  
  <p>Has anyone encountered this error? Appreciate any suggestions</p>