Socket.io-client: Access to XMLHttpRequest at 'http://localhost:8080/socket.io/?EIO=3&transport=polling&t=MgBuvgw' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Created on 6 May 2019  路  4Comments  路  Source: socketio/socket.io-client

I am trying to connect a angular with laravel web socket . is it possible ?

question

All 4 comments

are you in a development environment or production? In development, dont use localhost, create a domain name.

https://sangams.com.np/setup-web-server-domain-xampp/

same issue no solution

Did someone was able to find a solution?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

newpanjing picture newpanjing  路  3Comments

catamphetamine picture catamphetamine  路  3Comments

hyperknot picture hyperknot  路  6Comments

ahadcove picture ahadcove  路  7Comments

zappfinger picture zappfinger  路  5Comments