title: SockJS - '/info' causing Http 404 while connecting server
body: <p>I've mainly followed below posts for implementing push notifications using SockJS,</p>
  
  <p><a href="https://stackoverflow.com/questions/14474273/push-notification-for-java-web-app">Push Notifications for Java Webapp</a>, <a href="https://github.com/sockjs/sockjs-client" rel="nofollow noreferrer">SockJS Client</a>, <a href="https://github.com/vert-x/vertx-examples/blob/master/src/raw/java/sockjs/SockJSExample.java" rel="nofollow noreferrer">SockJS Java Server</a>.</p>
  
  <p>My sockJS client is:</p>
  
  <pre><code>var sock = new SockJS("http://localhost:8080/pusher");
  
  sock.onmessage = function(event) {
      console.log("message: " + event.data);
      alert('received message echoed from server: ' + event.data);
  };
  </code></pre>
  
  <p>*Server is listening same port 8080. But while running I got error 404:</p>
  
  <pre><code>GET http://localhost:8080/pusher/info 404 (Not Found)
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/15788628/sockjs-info-path-not-found">This post</a> on StackOverflow doesn't solve my problem. Please check what I'm missing.
  Do I need to register client or publish server to enable the push notifications. Thanks in advance!</p>