PortGate

Resources · Port reference · port 5678

Port 5678 (n8n): what it is and how to secure it

n8n workflows can call internal services. The editor and the webhooks should not be an open signup page.

Check command

ss -tulpn | grep 5678

Copied.

Port 5678 is n8n. A public listener with open signup lets a stranger build workflows on your server, including calls to localhost services.

ss -tulpn | grep 5678

Bind it to 127.0.0.1, put basic auth or the owner login in front, and let Nginx rate-limit /webhook/. Do not enable the execute-command node on a host that also stores production credentials.