-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting server errors after vanilla node.js install #3
Comments
Oh just noticed this has to be run as root! Can you note in the docs where I can change the ports? Thanks. |
Hi Tom, can you fork it and adjust the docs to reflect your findings as you've tried to get it running? That would be a big help |
I forked it. Where can I change the port numbers? |
Check out - https://github.com/onedayitwillmake/RealtimeMultiplayerNodeJs/blob/master/js/model/Constants.js For some modifiable options |
I saw the videos on your work which is pretty cool. I would like to see how Websockets could be integrated into Unity. Atm the Box2D demo is eating 50% of cpu with no users connected... Btw did you hear that Unity3d is giving away free licenses of iOS and Android which expires April 8th 2012. Someone ported Box2D / farseephysics to unity Node.js - Your video and AT&T how to got plugged... Changing Socket Policy Port Regards |
Hi tomoprime, ah interesting usage! The Box2D demo might eat a decent amount of CPU regardless of how many users are connected since there are many objects and they're all colliding with one another. However due to the way V8 works, as the server and code runs the Optimizing Compiler starts to find functions that are candidates for optimization and re-implements them so the simulation gradually runs better and better as more time goes by. I did hear about that and i signed up the day of right on the spot! I believe the websocket implementation has been updated, so I have to update the socket.io version I'm using in the engine. I will do that today |
or just change port :) It worked for me as shown in my last post : http://blog.i-evaluation.com/2012/10/20/angular-js-error-listen-eacces/ |
Great tip! Thanks iEvaluation |
Hi Mario
Great work btw! I just downloaded and installed the node.js v0.6.13 mac port.
I'm getting some startup errors do I need to nph install something? I'm new to node.js.
Toms-MacBook-Air:RealtimeMultiplayerNodeJS Tomo$ node js/DemoBox2D/server.js
17 Mar 12:16:30 - socket.io ready - accepting connections
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: listen EACCES
at errnoException (net.js:646:11)
at Array.1 (net.js:732:28)
at EventEmitter._tickCallback (node.js:192:40)
Toms-MacBook-Air:RealtimeMultiplayerNodeJS Tomo$
The text was updated successfully, but these errors were encountered: