title: Host header or origin header is specified and is not localhost for selenium grid
body: <p>I am trying to set up a selenium grid using the latest chrome and chromedriver. I get the following error when trying to run a test </p>
  
  <pre><code>Message: OpenQA.Selenium.WebDriverException : Unexpected error. Host header or origin header is specified and is not localhost.
  </code></pre>
  
  <p>On the node machine, I see the chrome browser open, but then it immediately closes and I get this error: </p>
  
  <pre><code>[1557513678.682][SEVERE]: Rejecting request with host: &lt;hub_IP_address&gt;:4444
  </code></pre>
  
  <p>Has anyone had this issue using the selenium grid? I am using:</p>
  
  <ul>
  <li>selenium-server-standalone-4.0.0-alpha-1.jar and</li>
  <li>Chromedriver 74.0.3729.6 for windows</li>
  <li>My Chrome browser was running v.74.0.3729.108</li>
  <li>JDK 12.0.1.0</li>
  </ul>
  
  <p>Here is my command for starting the hub:</p>
  
  <pre><code>java -jar selenium-server-standalone-4.0.0-alpha-1.jar -role hub -hubConfig config.json
  </code></pre>
  
  <p>Here is my command to start a node:</p>
  
  <pre><code>java -Dwebdriver.chrome.driver="C:\...\Browsers\ChromeDirectory\chromedriver.exe" -Dwebdriver.ie.driver="C:\...\Browsers\IEDirectory\x86\IEDriverServer.exe" -jar -Dwebdriver.edge.driver="C:\...\Browsers\Edge\MicrosoftWebDriver.exe" -jar "C:\...\selenium-server-standalone-4.0.0-alpha-1.jar" -role node -hub "http://&lt;hub_IP_address&gt;:4444/grid/register/" -nodeConfig "C:\...\config.json"
  </code></pre>
  
  <p>I tried using a "host" property in the config.jsons. I tried putting the actual IP address and just localhost.  But the hub and the node are obviously different machines, so putting localhost makes it so they can't connect.  But when I dont have localhost, it says it needs to be specified as localhost? I'm so confused!! What is supposed to go in the host property? </p>
  
  <p>I have seen people talk about a loopback property for protractor but I am not using protractor.  I tried putting "loopback":true into both my node and hub config.json files but it doesn't seem to make a difference.</p>
  
  <p>UPDATE: 
  I was able to get the grid to run successfully using the 4.0 alpha jar for the hub, and the old 3.8 jars for the nodes. All Still on Java 8.  Kind of interesting. </p>