title: Not able to connect multiple appium node to selenium grid
body: <p>I want to run appium scripts in parallel on multiple devices but always the second node fails to connect to the selenium server.</p>
  
  <p>This is my selenium server logs which starts and registers perfectly</p>
  
  <pre><code>D:\Appium&gt;java -jar selenium-server-standalone-2.52.0.jar -port 4444 -role hub m
  axInstances=2 maxSession=2 -timeout 30000
  15:17:45.215 INFO - Launching Selenium Grid hub
  2016-02-25 15:17:45.810:INFO::main: Logging initialized @732ms
  15:17:45.818 INFO - Will listen on 4444
  15:17:45.856 INFO - Will listen on 4444
  2016-02-25 15:17:45.859:INFO:osjs.Server:main: jetty-9.2.z-SNAPSHOT
  2016-02-25 15:17:45.879:INFO:osjsh.ContextHandler:main: Started o.s.j.s.ServletC
  ontextHandler@b0ed20{/,null,AVAILABLE}
  2016-02-25 15:17:45.893:INFO:osjs.ServerConnector:main: Started ServerConnector@
  76c8cd{HTTP/1.1}{0.0.0.0:4444}
  2016-02-25 15:17:45.894:INFO:osjs.Server:main: Started @816ms
  15:17:45.894 INFO - Nodes should register to http://10.51.25.88:4444/grid/regist
  er/
  15:17:45.894 INFO - Selenium Grid hub is up and running
  15:18:13.259 INFO - Registered a node http://10.51.25.88:4724
  15:18:25.289 INFO - Marking the node http://10.51.25.88:4724 as down: cannot rea
  ch the node for 2 tries
  </code></pre>
  
  <p>This is my Json file to create node and set capabilites</p>
  
  <pre><code>{"capabilities":[{"deviceName":"0009aec74c7a5f","browserName":"chrome","maxInstances":1,"version":"4.1.2","platform":"ANDROID"}],"configuration":{"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy","cleanUpCycle":2000,"port":4724,"host":"10.51.25.88","maxSession":1,"hubHost":"10.51.25.88","registerCycle":5000,"hubPort":4444,"timeout":30000,"url":"http:\/\/10.51.25.88:4724\/wd\/hub","register":true}}
  </code></pre>
  
  <p>Hence in the similar way when I try to connect my second appium node it fails to register in appium grid without any command prompt error logs</p>
  
  <p>I have two physical devices connected through USB and devices detected through adb.I am using the latest version of Appium 1.4 and the latest selenium standalone server jar file 2.52.</p>
  
  <p>I am able to register my appium node to selenium server for every first node , either of the device , but when I try to connect my second appium node It fails to connect closing the command promt without giving any error logs.</p>
  
  <p>This same commands and configuration used to work for previous version of Appium (about one year Old), but for the new Appium version second node is not getting registered.</p>
  
  <p>Is there any alternative method to register appium node to selenium grid , or Is there something I am missing above ?</p>