Next.js 16 · Command line
Use another port
Start the dev server on port 4000.
npx next dev -p 4000
Official Next.js 16 documentation
Next.js 16 · Command line
Start the dev server on port 4000.
npx next dev -p 4000
Official Next.js 16 documentation
Was this page helpful?