title: Tomcat is starting but can not access to localhost:8080
body: <p>I have spent several whole days to start the <code>tomcat 5.5.36</code> on my server. I am sure tomcat is starting because I use the command below </p>
  
  <pre><code>netstat -anp |grep 8080
  </code></pre>
  
  <p>The result shows the Java is listening on the port 8080.</p>
  
  <pre><code>tcp        0      0 0.0.0.0:8080                0.0.0.0:*                   LISTEN      7615/java
  </code></pre>
  
  <p>After I use the command hostname to get my localhost name and type it in the browser like</p>
  
  <pre><code>http://my.domain.com:8080
  </code></pre>
  
  <p>The chrome says the <code>Error 101</code> (<code>net::ERR_CONNECTION_RESET</code>): <code>The connection was reset</code>.</p>
  
  <p>Anyone can give me some helps. Thanks. </p>
  
  <hr>
  
  <p><strong>Update</strong> </p>
  
  <p>The log says :</p>
  
  <pre><code>Feb 19, 2013 2:10:56 PM org.apache.coyote.http11.Http11BaseProtocol start
  INFO: Starting Coyote HTTP/1.1 on http-8080
  Feb 19, 2013 2:10:56 PM org.apache.jk.common.ChannelSocket init
  INFO: JK: ajp13 listening on /0.0.0.0:8009
  Feb 19, 2013 2:10:56 PM org.apache.jk.server.JkMain start
  INFO: Jk running ID=0 time=0/11  config=null
  Feb 19, 2013 2:10:56 PM org.apache.catalina.storeconfig.StoreLoader load
  INFO: Find registry server-registry.xml at classpath resource
  Feb 19, 2013 2:10:56 PM org.apache.catalina.startup.Catalina start
  INFO: Server startup in 923 ms
  </code></pre>
  
  <hr>
  
  <p><strong>Update Feb 20</strong></p>
  
  <p>My problem gets solved and it is caused by the firewall issue. I try to use another laptop and telnet my server. The server says the connection is refused and I realized the port 8080 is not open to the outside.</p>
  
  <p>Hope it will help others.</p>