CLI

Next.js start command

Serves an existing compatible production build using the standard Next.js Node server. Static exports use a different serving model.

Formal Syntax & Structure

nextjs syntaxnextjs
next start [directory]

Working Example

Example Snippetnextjs
npm run start -- --hostname 127.0.0.1 --port 3000
Next.js Reference