title: Setting up Selenium Grid
body: <p>I am setting up Selenium Grid server and I have done successfully on my local machine and I'm wondering how to give the hostname so if other tester wants to register to the hub they should be able to do that, here is what I have done so far:</p>
  
  <p>on my local machine (assuming I will be allowing other tester to register the node here)</p>
  
  <p>Starting a Hub on my local machine:</p>
  
  <pre><code>java -jar selenium-server-standalone-2.21.0.jar -hub
  </code></pre>
  
  <p>Starting a Node</p>
  
  <pre><code>java -jar selenium-server-standalone-2.21.0.jar -role node  -hub localhost:4444/grid/register
  </code></pre>
  
  <p>I view the status of the hub: localhost:4444/grid/console</p>
  
  <p>Now, my question is: How to register from <code>another machine</code>?</p>
  
  <p>on my other machine I have downloaed the selenium-server-standalone jar file and I run this command </p>
  
  <pre><code>java -jar selenium-server-standalone-2.21.0.jar -role node  -hub localhost:4444/grid/register
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>hub down or not responding
  </code></pre>
  
  <p>I know I should not be giving the localhost from other machine and I'm confused here.</p>