Development Mode
Development mode runs with hot reload and debugging tools enabled.1
Install dependencies
2
Start the development server
next dev --turbopack which starts the Next.js development server with Turbopack for faster builds.3
Access the application
Open http://localhost:3000 in your browser.The page automatically polls
/api/connections every 5 seconds to refresh process data.Development mode is ideal for making changes and testing features, but should not be used in production environments.
Production Mode
Production mode compiles and optimizes the application for better performance.1
Build the application
next build to create an optimized production bundle.2
Start the production server
next start which serves the production build.3
Access the application
The production server runs on port 3000 by default.Open http://localhost:3000 in your browser.
Port Configuration
For background production mode with a custom port, see Production Setup.