I deployed my app to no.de. First issue I had with socket.io was that I had to change the port it was listening to.
io = require('socket.io').listen(3000),
After changing the port now the script required socket.io.js is nowhere to be found
script(src="/socket.io/socket.io.js")
I tried and absolute path giving in the port as well but that didn't work. On localhost it worked just fine so I'm really confused on how to fix this.
GET http://twtups.no.de/socket.io/socket.io.js 404 (Not Found)
Uncaught ReferenceError: io is not defined
A second look at my logs reveals this // this is from express i think, dunno if related
Warning: connection.session() MemoryStore is not
designed for a production environment, as it will leak
memory, and obviously only work within a single process.
[ Jan 11 11:10:09 Method "start" exited with status 0. ]
UPDATE, Works like this
var app = express.createServer();
var io = require('socket.io').listen(app);
app.listen(80);