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

Busy port 3000 does not result in using another port #7456

Closed
7 tasks done
hyvyys opened this issue Mar 25, 2022 · 2 comments
Closed
7 tasks done

Busy port 3000 does not result in using another port #7456

hyvyys opened this issue Mar 25, 2022 · 2 comments

Comments

@hyvyys
Copy link

hyvyys commented Mar 25, 2022

Describe the bug

I don't know if another port is used when the default port 3000 is already in use, but the console still prints


  vite v2.8.6 dev server running at:

  > Local: http://localhost:3000/
  > Network: use `--host` to expose

  ready in 310ms.

Reproduction

https://gitlab.com/adamjagosz/vite-test

System Info

System:
    OS: macOS 11.6
    CPU: (8) x64 Apple M1
    Memory: 76.54 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.13.0 - ~/.nvm/versions/node/v16.13.0/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.1.0 - ~/.nvm/versions/node/v16.13.0/bin/npm
  Browsers:
    Brave Browser: 99.1.36.112
    Chrome: 99.0.4844.83
    Firefox: 98.0.2
    Safari: 14.1.2
    Safari Technology Preview: 15.4
  npmPackages:
    @vitejs/plugin-vue: ^2.2.0 => 2.2.4 
    vite: ^2.8.0 => 2.8.6

Used Package Manager

npm

Logs

No response

Validations

@sapphi-red
Copy link
Member

I think it is #5241 (comment).

@bluwy
Copy link
Member

bluwy commented Mar 27, 2022

Closing as duplicate of #5421

@bluwy bluwy closed this as completed Mar 27, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants