-
-
Notifications
You must be signed in to change notification settings - Fork 523
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
Couldn't Run The Example Smoothly #76
Comments
Hi @ZeroHackeR, I've never seen this error. Can you provide the version of node and operational system you're using? Thanks! |
Same problem. |
I didn't have anything running on port 80. That was the problem. If I start a webserver on port 80, I don't get any error when |
Oh, I see. Thanks @Federkun! @ZeroHackeR probably has the I've just updated the examples to use a fixed port number instead of prioritizing |
Mh, I don't think that's the case. I'm trying to understand why colyseus require an unrelated process running on port 80 to work correctly, but the error message doesn't offer any meaningful information.. |
@Federkun Colyseus spawns a match-making process for internal communication only, I'm not sure if this line could be causing the problem: https://github.com/gamestdio/colyseus/blob/c59901e637fc7538f3ea4267a81360c26300e2ee/src/matchmaking/Process.ts#L13 |
After some debugging I'm sure that the problem is here: I'm not sure about the api of |
I had to dig the nodejs repository to learn how to do it. I'll do a pull request in a second, so you can review it. |
Dear there,
When I tried the example:
I sometime got this error and it stopped.
I couldn't find where it is coming form as well.
The text was updated successfully, but these errors were encountered: