I\'m stuck on why a node.js app that was moved to an IIS7 server is now failing. I know IIS7 doesn\'t support web sockets but my understanding was that socket.io would fall
In my project, I tried adding the transport
option as a websocket
and error no longer appears.
io.connect(url, {
"transports": ['websocket']
})
It will be a problem with supporting IE and other old browsers as they don't support native websockets, if the application browser compatibility is not an issue this seems a solution.