title: Selenium fails to open page on localhost
body: <p>I have a Tomcat server running at localhost:8000 with a deployed web application at localhost:8000/selenium_demo/. The application is fully functioning and can be normally accessed via browser.</p>
  
  <p>I'm trying to run a selenium test on the app like this:</p>
  
  <pre><code>browser = new DefaultSelenium("localhost", 4444, "*firefox", "http://localhost:8000");
  browser.start();
  browser.open("/selenium_demo/");
  System.out.println(browser.getBodyText());
  </code></pre>
  
  <p>But at the call of <code>browser.open(...)</code> I always get a timeout exception. I tried to set the waiting time to 60s with the same result.</p>
  
  <p>If I call <code>browser.open("/")</code> I'm able to get the Tomcat default homepage, but every other address fails. What could be the problem? I'm running all this on a Debian machine.</p>