works when connecting through ws://localhost:8080 but it doesn't work if I change localhost to the server ip (I need to do this to connect from other apps). Any help?
yep, is ratchet listening on 8080 on the server?
You should check your browser console to investigate this issue.
What ip are you using?
afaik its wss if you have encryption, and the certs must be configured in the ratchet setup. Or you could use a reverse proxy.
Thank you @yerst and @haider I fixed my issue and now my ratchet app works! My certs werent configured correctly for ratchet, and my server had some broken packages 📦
Обсуждают сегодня