Sockets confusion need help...

Hi all i am an intern at a company and working on sockets in pwa app now want to ask or confirm some scenerios ... Is anyone available?? Scenerios are: Person say sockets work on ip having http instead of https ...the backend is on live server and the other is the socket works on ip only not on url of backend and the last one is my sockets work good on local but on server they dont connect and if i give ip http and my app is on vercel so mixed cors error comess.... Need help

Apr 1, 2025 - 21:44
 0
Sockets confusion need help...

Hi all i am an intern at a company and working on sockets in pwa app now want to ask or confirm some scenerios ... Is anyone available??

Scenerios are:
Person say sockets work on ip having http instead of https ...the backend is on live server and the other is the socket works on ip only not on url of backend and the last one is my sockets work good on local but on server they dont connect and if i give ip http and my app is on vercel so mixed cors error comess.... Need help