N8N_PORT=5679 n8n start

Category: n8n & Workflow Automation

N8N_PORT=5679 n8n start

Run n8n on a custom port

Sets the HTTP port the editor and API listen on, overriding the default 5678. Useful when 5678 is taken or when running several instances side by side. The port and host are environment variables, not n8n start flags.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.