I recently found a script on GitHub which allows you to run a real-time Node.JS chat application, using Express and Socket.IO dependencies. I have uploaded it to my newly acquired DigitalOcean VPS, running Ubuntu 12.04.
It works, but is very slow to start with, i.e. it takes ~10 seconds to load, and when I run node app.js command via SSH, I get this debug info in my terminal - http://pastebin.com/r48xHN3m - the app starts up with socket.IO, BUT, on line 8 you can see that there's a clear socket.IO warning, stating that the websocket connection is invalid. And then it goes on to do some XHR polling after the timeout, and in the end of the debug info (line 38), you can see that a new user has joined the group, so it does work.
I've read a lot on the web about this, but I still can't solve the error. I tried using SSL (port 443), updating and upgrading all the dependencies, but those minor tweaks just don't do it...
P.S. My experimental site with the node app installed, but with socket.IO errors (running on port 3000) - chat.notepad.li