title: Selenium Grid2 - Remote Node not connecting to HUB
body: <p>My current setup is I have a selenium RC running as a hub on a windows machine(lets assume  machine name is machine.name.com).
  I have used the following command to start it </p>
  
  <pre><code>java -jar selenium-server2.15.jar -role hub -port 5555
  </code></pre>
  
  <p>I have a selenium node running on the same machine which is registered to the above node.
  I have used the following command to start the node</p>
  
  <pre><code>java -jar selenium-server2.15.jar -role node -port 5554 -hub http://machine.name.com:5555/grid/register
  </code></pre>
  
  <p>This node gets registered successfully, and I am able to run tests of this node as well.</p>
  
  <p>Now I have another machine (a LINUX one - lets assume the ip address of this machine is 10.123.123.123), form where I wish to run another node registered to the hub on the windows (machine.name.com) machine at port 5555.
  I have used the following command to start the node.</p>
  
  <pre><code>java -jar selenium-server2.15.jar -role node -port 5572 -hub http://machine.name.com:5555/grid/register -browser browserName=chrome,platform=LINUX,maxInstances=5
  </code></pre>
  
  <p>The problem is that this node does not get registered by the HUB.</p>
  
  <p>I do know for a fact that the Hub and Node have detected each other as when i hit 
  <a href="http://machine.name.com:5555/console" rel="noreferrer">http://machine.name.com:5555/console</a> on the browser both the nodes are displayed.
  But the Linux machine has an error message alongside it  "<strong>listening on <a href="http://10.123.123.123:5572" rel="noreferrer">http://10.123.123.123:5572</a> (cannot be reached at the moment)</strong>"</p>
  
  <p>and no selenium tests can be run off that node.</p>
  
  <p>I read on seleniumgroups <a href="http://groups.google.com/group/selenium-users/browse_thread/thread/8f1e9bbff33267cf/0224d6a29867aee4?lnk=gst&amp;q=grid%202#" rel="noreferrer">HERE</a> that the remote node must define the <code>-hubHost</code> key value pair also.
  So I have tried the following command as well, with no success</p>
  
  <pre><code>java -jar selenium-server2.15.jar -role node -port 5572 -hub http://machine.name.com:5555/grid/register -browser browserName=chrome,platform=LINUX, maxInstances=5 -hubHost "machine.name.com"
  </code></pre>
  
  <p>But this does not register the node as well.</p>
  
  <p>Please note no error is thrown on the console on the linux machine.
  all that is displayed is  - </p>
  
  <pre><code>13:20:55.891 INFO - starting auto register thread. Will try to register every 5000ms
  13:20:55.891 INFO - Registering the node to hub :http://machine.name.com:5555/grid/register
  13:23:06.860 INFO - Registering the node to hub :http://machine.name.com:5555/grid/register
  13:25:17.678 INFO - Registering the node to hub :http://machine.name.com:5555/grid/register
  13:27:28.496 INFO - Registering the node to hub :http://machine.name.com:5555/grid/register
  13:29:39.311 INFO - Registering the node to hub :http://machine.name.com:5555/grid/register
  </code></pre>
  
  <p>No error are thrown on the console running the Hub on the windows machine.</p>
  
  <p>Firewalls are appropriately punctured, as well checked by telneting.</p>
  
  <p>With all of this, I am sure i have done something fundamentally wrong, can someone please HELP ME!!!!!</p>