Answer the question
In order to leave comments, you need to log in
I can't connect socket.io to node.js, what should I do?
Access to XMLHttpRequest at ' localhost:3000/socket.io/?EIO=3&transport=polling&... ' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
index.js:83 GET localhost:3000/socket.io/?EIO=3&transport=polling&... net::ERR_FAILED
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question