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

Implement Dynamic Port Binding #4

Open
2 tasks done
she3o opened this issue Nov 16, 2024 · 0 comments
Open
2 tasks done

Implement Dynamic Port Binding #4

she3o opened this issue Nov 16, 2024 · 0 comments
Labels
enhancement New feature or request networking

Comments

@she3o
Copy link
Owner

she3o commented Nov 16, 2024

Feature Overview

Allow Zync to bind to dynamically assigned ports,
avoiding port conflicts in environments with multiple services.

Requirements

  • If port is specified and unavailable, produce an error and explain to the user.
  • if port is not specified, bind to default. If unavailable, bind to another available.
  • Provide feedback to the user about the port being used.
  • Optionally allow specifying a range of ports to attempt binding.

Acceptance Criteria

  • If the default port (4918) is unavailable, the server automatically selects the next available port.
  • The chosen port is logged and displayed to the user upon server startup.
  • Users can specify a port range or fallback strategy via command-line arguments.
@she3o she3o added enhancement New feature or request networking labels Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request networking
Projects
None yet
Development

No branches or pull requests

1 participant