WebSocket not connecting in Glitch and express

How can you make a WebSocket connection with just node.js, ws, and express? I saw a different question like this and it didn’t really help because it used a bunch of weird plugins. I’ve done WebSockets in the past with these three plugins, but it just doesn’t work on glitch. Any tips?

Hi and welcome to the community, @Reckless!

  • What did you tried?
  • You say you were not able to use node.js+ws+express to make a Glitch websocket. What error did you got?
  • What’s your project URL?

Thanks!