Skip to content

Comments

chore: use port 0 for next dev#4

Open
PaulRBerg wants to merge 1 commit intomcrovero:mainfrom
PaulRBerg:chore/port-0
Open

chore: use port 0 for next dev#4
PaulRBerg wants to merge 1 commit intomcrovero:mainfrom
PaulRBerg:chore/port-0

Conversation

@PaulRBerg
Copy link

Changes the Next.js dev server to use port 0, which starts the app on a random 5-digit port. This helps avoid port clashes with the default 3000 port commonly used by Next.js projects.

Note

Port 0 instructs Node.js to bind to a random available port, making it easier to run multiple Next.js instances simultaneously without manual port configuration.

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.

1 participant