Initializing n8n process
n8n webserver failed, exiting
The fix is to add this line -e N8N_LISTEN_ADDRESS=0.0.0.0
In my case, the problem was that IPv6 was disabled in my kernel.
Since at least version 1.107.4, the default listen address is ::.
sudo docker run -it –rm \
–name n8n \
-e GENERIC_TIMEZONE=”America/New_York” \
-e TZ=”America/New_York” \
-e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false \
-e N8N_RUNNERS_ENABLED=true \
-e N28N_SECURE_COOKIE=false \
-e N8N_METRICS=true \
-e N8N_LISTEN_ADDRESS=0.0.0.0 \
-e QUEUE_HEALTH_CHECK_ACTIVE=true \
-v ./n8n_data:/home/node/.n8n \
docker.n8n.io/n8nio/n8n