const server = require('http').createServer(); const io = require('socket.io')(3000, { path: '/test', serveClient: false, // below are engine.IO options pingInterval: 10000, pingTimeout: 5000, cookie: false });