Skip to content

When running serve check if port is available #2632

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

szabgab
Copy link
Contributor

@szabgab szabgab commented Apr 2, 2025

Give a nice explanation if it is used or if it is a protected port.

Closes #2631

Give a nice explanation if it is used or if it is a protected port.
Closes rust-lang#2631
@rustbot rustbot added the S-waiting-on-review Status: waiting on a review label Apr 2, 2025
@GuillaumeGomez
Copy link
Member

Wouldn't it be better to do it where we start the server instead of doing an extra check?

@ehuss ehuss added S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author. and removed S-waiting-on-review Status: waiting on a review labels Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: The marked PR is awaiting some action (such as code changes) from the PR author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mdbook serve --port 80 --open panics, but opens the browser
4 participants