title: netstat lots of 127.0.0.1:8080 TIME_WAIT
body: <p>I have found <a href="https://stackoverflow.com/questions/8633677/why-are-there-so-many-time-wait-connectings-when-using-eventmachine">this</a> post like mine but did not find as a solution.
  So When I do <code>netstat -n</code> I am getting following:</p>
  
  <pre><code>TCP    127.0.0.1:52144        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52145        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52146        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52147        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52148        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52149        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52150        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52151        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52152        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52153        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52154        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52155        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52156        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52157        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52158        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52159        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52160        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52161        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52162        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52163        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52164        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52165        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52166        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52167        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52168        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52169        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52170        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52171        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52172        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52173        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52174        127.0.0.1:8080         TIME_WAIT
   TCP    127.0.0.1:52175        127.0.0.1:8080         TIME_WAIT
   ...
  </code></pre>
  
  <p>And many more. when I do <code>ping localhost:8080</code>, I am getting: 
  <code>Ping request could not find host localhost:8080. Please check the name and try again.</code></p>
  
  <p>when I do <code>ping localhost</code>, I am getting: </p>
  
  <pre><code>Pinging TA52273.com [::1] with 32 bytes of data:
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  Reply from ::1: time&lt;1ms
  
  Ping statistics for ::1:
      Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
      Minimum = 0ms, Maximum = 0ms, Average = 0ms
  </code></pre>
  
  <p>When I try localhost:8080 on FF I am getting empty page, just blank page.
  When I try localhost:8080 on chrome I am getting:
  <code>Oops! This link appears to be broken.
  Did you mean: localhost8080.­net</code></p>
  
  <p>localhost:8080 is not responding. </p>
  
  <p>Any idea, what might be wrong. I can start tomcat itself without a problem. but when I deploy my app that is what happening. </p>