Skip to content
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

Can't connect from the same machine twice #22

Open
nistvan86 opened this issue Aug 12, 2015 · 3 comments
Open

Can't connect from the same machine twice #22

nistvan86 opened this issue Aug 12, 2015 · 3 comments

Comments

@nistvan86
Copy link

I'm opening up the client with Chrome and Firefox simultaneously and trying to connect to the same WebQuake server. Once I'm joining the game in the second browser window, the server kicks out the first. Why is this happening?

I've started the server with
-port <custom_port> -maxplayers 8
switches and if i open up http://<server_ip>:<custom_port> i can see the game is really limited to 8 players. Does the server allows only one connection from the same IP address?

@jangrewe
Copy link

Same problem here, using separate workstations but accessing the server through a NAT, so same client IP... =(

@swax
Copy link

swax commented Apr 2, 2018

Comment out this line and it works. Not sure why, but on connect this loop looks for any connection that is still connected over websockets with the same source address and disconnects it.

NET.Close(s);

@Beyley
Copy link

Beyley commented Nov 6, 2018

Worked for me! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants