Closed nickretallack closed 11 years ago
Those are valid points, the RealtmeMultiplayerNodeJS does not attempt to serve any files, i should note. I'll also make it spit out some more useful info when it starts such as the current port and address.
Thanks for the input
Is it even possible to test this system over the internet right now?
This isn't really in the domain of this project, so closing issue for now
The instructions in the readme are very vague.
"run the server and brows to "/DemoHelloWorld.html"
On localhost? What port? I can just open the file DemoHelloWorld.html, but then it will be on a different origin from the websockets, causing it to print this:
If you want to use websockets, you have to be on the same origin, right? So you should have your server serve up this static file. And you should be clear about where your server is serving it to. It does not print out the client port to the terminal, and it took me a bit of hunting to find where that is even set.