title: How to make Tomcat 8 websocket example works?
body: <p>I just download Tomcat 8, and I want to test WebSocket feature by testing on ECHO example application just as it is (located under ../webapps/examples/websocket folder. So I run the server and open echo.html using Mozilla.</p>
  
  <p>I try to connect to the server from that page but it keeps throwing:</p>
  
  <pre><code>Info: WebSocket connection closed.
  </code></pre>
  
  <p>Can anybody tell me what am I missing? For the record, I also tried on tomcat 7.0.52 with the same result.</p>
  
  <p>Thank you.</p>