title: Can a webpage, hosted by tomcat, websocket connect over port 80 to an erlang server on the same machine as tomcat?
body: <p>I would like to use tomcat to serve a web page.  The webpage will make a connection using websockets over port 80.  Does this mean I need a java servlet (hosted by tomcat) to listen for a websocket connection?  Or can I use some other application to say written in erlang to listen for the websocket connections.</p>
  
  <p>I'm confused about whether if I use tomcat to serve the webpage, I'm also forced to use it to listen for websockets over port 80.  I would have tomcat and the erlang app on the same machine.</p>