Blitz is pivoting to framework agnostic toolkit. Click to learn more.
🚀Announcing Flightcontrol - Easily Deploy Blitz.js and Next.js to AWS 🚀
Back to Documentation Menu

blitz start

Alias: blitz s

Starts the Blitz production server.

Options

OptionShorthandDescriptionDefault
--hostname-HSet the hostname to use for the server."localhost"
--port-pSet the port you'd like the server to listen on.3000
--inspectEnable the Node.js inspectorfalse
--env-eSet app environment name. Read more.None

Examples

Note

Make sure to run blitz build before running blitz start

blitz start
blitz start -H 127.0.0.1 -p 5632

Idea for improving this page? Edit it on GitHub.