next start
ProductionStart Next.js production server
Options & Flags
Available options for this command
-p PORTSpecify port (default 3000)
-H HOSTSpecify hostname
Examples
Common usage examples
Start production server
next startStart using package.json script
npm run startStart on custom port
next start -p 8080Notes
- Requires 'next build' first
- Serves optimized production build
Related Commands
You might also find these useful