-
Notifications
You must be signed in to change notification settings - Fork 184
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
multiplayer.html stops at "connecting to server..." #18
Comments
Perhaps raise this issue with socket.io. |
Will do! Is there anything else I should be doing that I missed? I am supposed to run a web server, as the server.js doesn't do that, right? |
Ah, the problem is that it expects the WebSocket server to be on the same origin ( I'm not sure how I ran the server when I worked on this project, but I may have used a reverse proxy to forward just the /socket.io/ stuff to |
I just tested it on my own PC. I started the server with |
Hello!
I'm using a Windows 10 computer to test this out locally. I'm using the npm http-server as my web server, which is functioning properly. I'm opening the page through
localhost:8081/multiplayer.html
, and it allows me to enter a name. After that, however, it just freezes at "connecting to server...".I'm able to start the server.js file with no issues.
The web server outputs this error:
"POST /socket.io/?EIO=3&transport=polling&t=L-PW7s9" Error (404): "Not found"
Chrome outputs this error:
POST http://localhost:8081/socket.io/?EIO=3&transport=polling&t=L-PVxHX 405 (Method Not Allowed)
The text was updated successfully, but these errors were encountered: