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

Automatically look for a free port in case of collisions #9

Open
TechnicJelle opened this issue Sep 3, 2024 · 0 comments
Open

Automatically look for a free port in case of collisions #9

TechnicJelle opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@TechnicJelle
Copy link
Owner

TechnicJelle commented Sep 3, 2024

When running multiple projects, port collisions can happen.

BlueMap itself already warns about double port usage.

But maybe I want to automatically look for a free port?

  • Fully automatically?

    • No port configuration in the Simplified Config View. Every time the server starts, it will port sniff (from 8100 up) to find the next free port, writes that to the config, and only then starts up the BlueMap-CLI process.
    • When Core config has been switched to Avanced View, this whole step is skipped. So you might see the BlueMap warning about port conflicts.
  • Or you get a confirmation popup:

    "Port already in use by another (BlueMap?) process. Do you want to automatically find a free port? This will modify your Core config."

    And then it will do some port sniffing (from 8100) to find the next free port.

    Moment:

    • When clicking start, Dart first checks if there is already something running on 8100.
    • Or only when BlueMap's own error pops up?
@TechnicJelle TechnicJelle added the enhancement New feature or request label Sep 3, 2024
@TechnicJelle TechnicJelle removed this from the 1.1: Multi-project support milestone Nov 3, 2024
@TechnicJelle TechnicJelle added the help wanted Extra attention is needed label Nov 3, 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 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant