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

Change default ports of game servers #560

Open
sven-n opened this issue Dec 29, 2024 · 0 comments
Open

Change default ports of game servers #560

sven-n opened this issue Dec 29, 2024 · 0 comments
Labels

Comments

@sven-n
Copy link
Member

sven-n commented Dec 29, 2024

Describe the bug
Windows uses ports starting from 49152 to establish connections, so the game server ports (starting from 55901) might be problematic.

To Reproduce
Steps to reproduce the behavior:

  1. Leave and use your system online for some hours or days
  2. Try to start the OpenMU server on the same system or on a docker instance
  3. Experience that you cannot connect to a game server, because the port is already in use by another process.

Expected behavior
The game server default ports should be changed to something below 49152.
Maybe 45000 is a good starting port.

Additional context
https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/default-dynamic-port-range-tcpip-chang
https://www.sciencedirect.com/topics/computer-science/registered-port#:%7E:text=Dynamic%20ports%E2%80%94Ports%20in%20the,but%20many%20systems%20do%20not

... the ports from 49152 to 65535 can be used dynamically by applications.

@sven-n sven-n added the bug label Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant