Unable to launch IE browser in selenium webdriver
<p>I have written a sample code to launch <code>IE browser</code> and load google page.</p>

<pre><code>public class Sample {

 public static void main(String[] args) 
  {
    // TODO Auto-generated method stub
    System.setProperty("webdriver.ie.driver","H:/IEDriverServer.exe");
    WebDriver driver=new InternetExplorerDriver();
    driver.manage().window().maximize();
    driver.manage().timeouts().implicitlyWait(10,TimeUnit.SECONDS);

    driver.get("http://www.google.com");
  }
}
</code></pre>

<p>But when I run this script it launches browser and it gets closed immediately (less than 2 sec) without prompting any error and the script wont terminates.</p>

<p>This is what I can see on console screen:</p>

<blockquote>
  <p>Started <code>InternetExplorerDriver</code> server (32-bit)</p>
  
  <p>2.53.1.0</p>
  
  <p>Listening on port 46974</p>
  
  <p>Only local connections are allowed</p>
</blockquote>

<p>Can any one help me on this issue?</p>