0

I am making a socket.io app, it is working perfectly locally, until i try to put it on Modulus.io, Then I can't connect to my app, it isn't generating an error though... this is some relevant code: (Server)

var io = require('socket.io').listen(Number(process.env.PORT) || 8080)
io.set('log level', 5);
io.set("origins = *");

It says info - socket.io started and that's it. When I try to connect, socket.on("error") fires with ETIMEOUT

4

0 に答える 0