title: socket.io with Apache Tomcat
body: <p>I am using node.js server and implemented socket.io.</p>
  
  <p>It works fine, but for some reason, I have to use Apache Tomcat, running on port 8080, and the node server running on 8081.</p>
  
  <p>If I run the application via <strong>:8081</strong> (serving pages through node.js), socket.io (socket.io is listening to 8081 port) is working, but when I serve through Apache Tomcat running application via <strong>:8080/Demo_Pro/index.html</strong>, socket.io is not working.</p>
  
  <p>Can anybody explain how to run both Apache Tomcat and node.js at the same time.</p>