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

vite 自动切换端口有问题 #8320

Closed
7 tasks done
smithyj opened this issue May 25, 2022 · 1 comment
Closed
7 tasks done

vite 自动切换端口有问题 #8320

smithyj opened this issue May 25, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@smithyj
Copy link

smithyj commented May 25, 2022

Describe the bug

通过 pnpm create vite 初始化的项目
我的电脑是 Mac,本地已经在 Docker 监听了 3000 端口
然后再 pnpm dev ,终端出现的还是 3000 端口,按官方文档描述的,不是会自动切换端口到 3001 吗?
而且通过截图来看,vite 是只绑定了 ipv4 的 3000 端口,估计是这个导致的,按理 VITE 应该兼容同时监听 IPV4 和 IPV6 才对
image
image

Reproduction

没有

System Info

没有

Used Package Manager

pnpm

Logs

No response

Validations

@sapphi-red
Copy link
Member

duplicate of #5241 (comment)

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale May 26, 2022
@sapphi-red sapphi-red added duplicate This issue or pull request already exists and removed pending triage labels May 26, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants