René's URL Explorer Experiment


Title: feat: auto-shift port when default is in use (Vite-style) by melvincarvalho · Pull Request #14 · JavaScriptSolidServer/jspod · GitHub

Open Graph Title: feat: auto-shift port when default is in use (Vite-style) by melvincarvalho · Pull Request #14 · JavaScriptSolidServer/jspod

X Title: feat: auto-shift port when default is in use (Vite-style) by melvincarvalho · Pull Request #14 · JavaScriptSolidServer/jspod

Description: Summary If 5444 is already taken (another jspod running, dev server collision, whatever) jspod previously crashed on JSS bind. Now jspod probes the requested port and shifts up by one — up to 10 attempts — finding the first free port and printing a clear line before the banner: ``` Port 5444 is in use, using 5445 instead. ``` Mirrors Vite / Next.js dev-server behaviour. Solves the most common "I already have jspod running" friction. Implementation Adds a small findFreePort(startPort, host) helper using `net.createServer().listen(port, host)` — bind succeeds → free, EADDRINUSE → take the next one. Probes against the same host JSS will bind to so the answer reflects reality. After CLI parse, before banner display, jspod calls `await findFreePort(options.port, options.host)`. If the returned port differs from the requested one, prints the yellow warning. If no free port in the 10-port range, exits with a clear error pointing at `--port`. Test plan First jspod takes 5444 (default) Second jspod auto-shifts to 5445, prints the warning line, banner shows 5445 Both bound concurrently (verified via ss -tlnp) Manual after merge + publish 0.0.16: npx jspod@0.0.16 while another jspod is running; confirm the shift + browser auto-opens to the right port Refs #1

Open Graph Description: Summary If 5444 is already taken (another jspod running, dev server collision, whatever) jspod previously crashed on JSS bind. Now jspod probes the requested port and shifts up by one — up to 10 at...

X Description: Summary If 5444 is already taken (another jspod running, dev server collision, whatever) jspod previously crashed on JSS bind. Now jspod probes the requested port and shifts up by one — up to 10 at...

Opengraph URL: https://github.com/JavaScriptSolidServer/jspod/pull/14

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:06206e9a-bd51-539f-35a1-89fcf60da75e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE74E:1827E:2E420BC:3D1CA16:6B039F97
html-safe-nonce74ad3469888732688a9a5a8518adbf889dfbb839fd2849fa6f9026abef71e3f5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzRFOjE4MjdFOjJFNDIwQkM6M0QxQ0ExNjo2QjAzOUY5NyIsInZpc2l0b3JfaWQiOiI2MDE0NjMzMzk4MDg0MjgwMjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1319b99adfed50031771fc4f61bdcd3c7150743abea8233d78bfe851d7bc59b8
hovercard-subject-tagpull_request:3693717635
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JavaScriptSolidServer/jspod/pull/14/files
twitter:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65864?s=400&v=4
og:image:altSummary If 5444 is already taken (another jspod running, dev server collision, whatever) jspod previously crashed on JSS bind. Now jspod probes the requested port and shifts up by one — up to 10 at...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JavaScriptSolidServer/jspod git https://github.com/JavaScriptSolidServer/jspod.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1135610078
octolytics-dimension-repository_nwoJavaScriptSolidServer/jspod
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1135610078
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/jspod
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/jspod/pull/14/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fjspod%2Fpull%2F14%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fjspod%2Fpull%2F14%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JavaScriptSolidServer%2Fjspod
Reloadhttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
Reloadhttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
Reloadhttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
jspodhttps://github.com/JavaScriptSolidServer/jspod
Codehttps://github.com/JavaScriptSolidServer/jspod
Issues8 (8)https://github.com/JavaScriptSolidServer/jspod/issues
Pull requests1 (1)https://github.com/JavaScriptSolidServer/jspod/pulls
Actionshttps://github.com/JavaScriptSolidServer/jspod/actions
Projectshttps://github.com/JavaScriptSolidServer/jspod/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/jspod/security
Insightshttps://github.com/JavaScriptSolidServer/jspod/insights
Sign up for GitHub https://github.com/signup?return_to=%2FJavaScriptSolidServer%2Fjspod%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJavaScriptSolidServer%2Fjspod%2Fissues%2Fnew%2Fchoose
melvincarvalhohttps://github.com/melvincarvalho
gh-pageshttps://github.com/JavaScriptSolidServer/jspod/tree/gh-pages
feat-port-hoppinghttps://github.com/JavaScriptSolidServer/jspod/tree/feat-port-hopping
Conversation 0 https://github.com/JavaScriptSolidServer/jspod/pull/14
Commits 1 https://github.com/JavaScriptSolidServer/jspod/pull/14/commits
Checks 0 https://github.com/JavaScriptSolidServer/jspod/pull/14/checks
Files changed https://github.com/JavaScriptSolidServer/jspod/pull/14/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
feat: auto-shift port when default is in use (Vite-style) https://github.com/JavaScriptSolidServer/jspod/pull/14/files#top
Show all changes 1 commit https://github.com/JavaScriptSolidServer/jspod/pull/14/files
963d5d8 feat: auto-shift port when default is in use (Vite-style) melvincarvalho May 16, 2026 https://github.com/JavaScriptSolidServer/jspod/pull/14/commits/963d5d83c4859b336998f2d0c426c4bc0e7f459f
Clear filters https://github.com/JavaScriptSolidServer/jspod/pull/14/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
Please reload this pagehttps://github.com/JavaScriptSolidServer/jspod/pull/14/files
index.js https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
package.json https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
index.jshttps://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
View file https://github.com/JavaScriptSolidServer/jspod/blob/963d5d83c4859b336998f2d0c426c4bc0e7f459f/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/jspod/pull/14/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-e727e4bdf3657fd1d798edcd6b099d6e092f8573cba266154583a746bba0f346
package.jsonhttps://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
View file https://github.com/JavaScriptSolidServer/jspod/blob/963d5d83c4859b336998f2d0c426c4bc0e7f459f/package.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JavaScriptSolidServer/jspod/pull/14/{{ revealButtonHref }}
https://github.com/JavaScriptSolidServer/jspod/pull/14/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.