react-tutorial-todos
react-tutorial-todos copied to clipboard
sockjs-node error polluting the console
Hi, First of all, thank you for the great work. Loved your vid. I cloned your repo, installed npm dependencies, built the project, and ran the server :
npm install
webpack
node server.js
But when I visit http://localhost:3000/ I get many error in the console, every 3seconds:
abstract-xhr.js:128 GET http://127.0.0.1:8080/sockjs-node/info?t=1467733472020 net::ERR_CONNECTION_REFUSED
client?839d:70 [WDS] Disconnected!
It looks like sockjs is look at the wrong port number. Any idea ?
Even I got the same while deploying it with tomcat, do you have any idea how we can resolve this ?

if I specify entry as src folder only, then I am flooded with CORS error, Could you please suggest what I can do in this case ?