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

fix port unavailable issue when running next start #515

Merged
merged 1 commit into from
Jan 15, 2023

Conversation

devsrv
Copy link
Contributor

@devsrv devsrv commented Jan 9, 2023

Description

running multiple next apps with pnpm start enforces all the apps to run on port 3000. causing port not available error for all the apps other than the main app

image

Solution

running the next apps on unique port.
added -p 3001 to the start script

added -p 3001 to the start script
@devsrv devsrv requested review from a team, goncy, lfades, leerob and steven-tey as code owners January 9, 2023 19:33
@devsrv devsrv requested review from tknickman and NicholasLYang and removed request for a team January 9, 2023 19:33
@vercel
Copy link

vercel bot commented Jan 9, 2023

@devsrv is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
app-dir-css-in-js ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
app-dir-i18n ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
app-dir-share-state ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-api-routes-cache-control ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-api-routes-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-api-routes-json-response ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-api-routes-query-parameters ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-functions-authed-proxy ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-functions-cookies ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-functions-news ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-functions-streams ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
edge-user-agent-based-rendering ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
example-auth-with-ory ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
example-reduce-image-bandwidth-usage ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
i18n ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-combining-data-fetching-strategies ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-image-fallback ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-image-offset ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-loading-web-fonts ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-microfrontends ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-microfrontends-docs ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-pagination-with-ssg ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-reuse-responses ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-script-component-ad ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-script-component-strategies ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
solutions-testing ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
wasm-rust-hello-world ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)
wasm-rust-xor ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 9, 2023 at 7:35PM (UTC)

Copy link
Member

@lfades lfades left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lfades lfades merged commit cb9ae8a into vercel:main Jan 15, 2023
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.

None yet

2 participants