A
A
Andrew-Marty00shenko2020-11-08 02:37:11
Node.js
Andrew-Marty00shenko, 2020-11-08 02:37:11

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 question

Ask a Question

731 491 924 answers to any question