title: Cannot open http://localhost:8080/ when Tomcat is running in Eclipse
body: <p>I got the same problem with the questions here : <a href="https://stackoverflow.com/questions/2280064/tomcat-started-in-eclipse-but-unable-to-connect-to-link-to-http-localhost8085">Tomcat started in eclipse but unable to connect to link to http://localhost:8085/</a>, that means I can't open <a href="http://localhost:8080/" rel="nofollow noreferrer">http://localhost:8080/</a> at the browser :</p>
  
  <pre><code>HTTP Status 404 - /
  type Status report
  message /
  description The requested resource (/) is not available.
  Apache Tomcat/7.0.27
  
  //Console info when tomcat started//
  
  Apr 10, 2012 4:26:32 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
  WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to                   org.eclipse.jst.jee.server:SimpleServletProject' did not find a matching property.
  Apr 10, 2012 4:26:32 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["http-bio-8080"]
  Apr 10, 2012 4:26:33 PM org.apache.coyote.AbstractProtocol init
  INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
  Apr 10, 2012 4:26:33 PM org.apache.catalina.startup.Catalina load
  INFO: Initialization processed in 880 ms
  Apr 10, 2012 4:26:33 PM org.apache.catalina.core.StandardService startInternal
  INFO: Starting service Catalina
  Apr 10, 2012 4:26:33 PM org.apache.catalina.core.StandardEngine startInternal
  INFO: Starting Servlet Engine: Apache Tomcat/7.0.27
  Apr 10, 2012 4:26:33 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["http-bio-8080"]
  Apr 10, 2012 4:26:33 PM org.apache.coyote.AbstractProtocol start
  INFO: Starting ProtocolHandler ["ajp-bio-8009"]
  Apr 10, 2012 4:26:33 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 495 ms
  </code></pre>
  
  <p>I'm using Tomcat 7.0.27, Eclipse Europa and Java 1.6.0_32. I saw BalusC's answer, but the problem is that I couldn't select Tomcat installation (the picture below).</p>
  
  <p>What could be wrong here?</p>
  
  <p><img src="https://i.stack.imgur.com/hoRaE.png" alt="enter image description here"></p>
  
  <p>EDIT1 :  When I tried to create demo webpage, it couldn't be opened too (with the same error).</p>
  
  <p>EDIT2: Followed this thread <a href="https://stackoverflow.com/questions/4919846/why-tomcat-server-location-property-is-greyed-in-eclipse">Why tomcat server location property is greyed in Eclipse</a> I can open  <a href="http://localhost:8080/" rel="nofollow noreferrer">http://localhost:8080/</a> in the browser, but still cant access the demo web page..</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"        xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-  app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"&gt;
      &lt;display-name&gt;SimpleServletProject&lt;/display-name&gt;
      &lt;welcome-file-list&gt;
            &lt;welcome-file&gt; index.html&lt;/welcome-file&gt;
      &lt;/welcome-file-list&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>PS : It seems that there's no more space to me to post index.hmtl (it's just a normal html )..</p>