[SOLVED]Connecting to a Glitch Socket.io WebServer from a PC/Another Program


#1

Hello
So i’ve been learning about Socket.IO and how to make a chat application with it etc. And i wanted to integrate it with Unity so i can connect to it and send messages, but i can’t get an URL that works. I tried using ws//projectname.glitch.me:PORT, http//projectname.glitch.me, anything you can think of, and my Unity application doesn’t connect. I’m starting to think that maybe it’s not possible? I’d like to know if there’s a way to connect from another application/server.


#2

So i managed to solve it. I forgot to put the /socket.io/ after the url and not type the PORT after the url, so it looks something like ws://project.glitch.me/socket.io/?EIO=4&transport=websocket