2

I'm running an example of SockJS.

Ran npm install (everything okay)

Start server with no problem.

When I first load the test page, I see that there was a failed 404 call tohttp://127.0.0.1/echo/info

I'm looking at sockjs code and I'm guessing it is called from here - https://github.com/sockjs/sockjs-node/blob/master/src/sockjs.coffee#L81

What is the purpose of this info call and why is it not found? What am I missing in my configuration?

dev.e.loper
  • 35,446
  • 76
  • 161
  • 247

1 Answers1

2

Your server is listening on 9999 port! So you have to put the port too.

This will work http://127.0.0.1:9999/echo/info

user568109
  • 47,225
  • 17
  • 99
  • 123
  • I'm providing port number (8080) and still facing the same problem, any solution.? – masT Dec 16 '13 at 06:58
  • @masT As said above, server listens on 9999. So change 8080 to 9999. If it does not work, then something else is the issue. Ask a new question giving the details of the problem you faced. – user568109 Dec 16 '13 at 08:26
  • Please see http://stackoverflow.com/questions/20605465/sockjs-info-causing-http-404-while-connecting-server – masT Dec 16 '13 at 08:46