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?
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
来源:https://stackoverflow.com/questions/15788628/sockjs-info-path-not-found