title: When running WebDriver with Chrome browser, getting message, "Only local connections are allowed" even though browser launches properly
body: <p>When I run Chrome browser using WebDriver, I am getting following message on console. Please let me know how to resolve it. </p>
  
  <blockquote>
    <p>"Starting ChromeDriver (v2.10.267521) on port 22582 " "Only local
    connections are allowed."</p>
  </blockquote>
  
  <p>Here is my sample code:</p>
  
  <pre class="lang-java prettyprint-override"><code>public class Browserlaunch {
      public static void main(String[] args) {
          System.setProperty("webdriver.chrome.driver", "C:\\chromedriver_win32   \\chromedriver.exe");
          WebDriver driver = new ChromeDriver() ;
          driver.get("http://webdunia.com");
          driver.close();
          driver.quit();
      }
  }
  </code></pre>