Skip to content

fix(browser): change default port to 23315 - #11640

Merged
sheremet-va merged 2 commits into
vitest-dev:mainfrom
hi-ogawa:fix/issue-9035-default-port
Oct 19, 2026
Merged

sheremet-va merged 2 commits into
vitest-dev:mainfrom
hi-ogawa:fix/issue-9035-default-port

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Browser mode's default port 63315 can be reserved by Windows when Hyper-V, WSL2, or Docker Desktop is running, for example 63272-63371 on this issue. Binding a reserved port fails with EACCES (voidzero-dev/vite-task#838, facebook/lexical#8673), but Vite only falls back to the next port on EADDRINUSE (vite http.ts), so the run fails. This PR changes the default to 23315, chosen as described below.

Port choice research

The new port, and the ports after it that additional browser projects take, stay clear of:

Among the ports that meet these, 23315 differs from 63315 by only the first digit, so it is easy to recognize as the new default.

Refs vitest-dev#9035

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@netlify

netlify Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit edfb29f
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6ad5cb448d720217bc6d283d
😎 Deploy Preview https://deploy-preview-11640--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@hi-ogawa hi-ogawa changed the title fix(browser): change default port to 8315 fix(browser): change default port to 23315 Oct 19, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@hi-ogawa
hi-ogawa marked this pull request as ready for review October 19, 2026 08:02
@sheremet-va
sheremet-va merged commit a2ec416 into vitest-dev:main Oct 19, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pick lower ephemeral port for browser mode

2 participants