I installed NowJS this morning and wanted to try the examples provided by NowJS website. After having some problem with the "requiring" of nowjs (solved here), the server started well. But I face a new problem : now.ready() is never called, as if the websocket connexion never happend... It began with an error in javascript console : Uncaught exception: TypeError: 'now.distributeMessage' is not a function That means, I think, that the client never connect to the server and when I debug now with console.log(), I don't see any socketio attribute in now.core, what doesn't seems to be normal.
So what happend ? How do you think I can solve that problem ? Is it caused by a bad installation ? Or is it because I have to open some port in my router ?
I work under Ubuntu 12.04, if it's usefull for answers.
Thank you for the incoming answers ! =)