I’ve been playing around with websockets and have gotten some projects to work with them, but this specific project doesn’t seem to work on Glitch. It works perfectly fine when I localhost, but the same code doesn’t work on Glitch. I’m assuming it’s something with Glitch limiting the environment, something with specific localhost code on the Glitch environment.
Looking at the console on the app, I’m getting this error which looks like an issue with the localhost/glitch site.
GET http://localhost:8000/socket.io/?EIO=3&transport=polling&t=NbCXl7s net::ERR_CONNECTION_REFUSED
There aren’t any errors in the code console, but it doesn’t log when someone connects if that narrows it down anymore.
I’m not super familiar with websockets yet, so please be patient with me. Thanks in advance!