404 on new N8N install

Hi all, we have installed N8N and are receiving a 404 error when trying to connect to it through a browser.
We have confirmed all folder perms are correct, used the recommend n8n image provided in the doc. Confirmed NSGs are allowing the connection. The connection is hitting the VM. We are using Docker.
We followed the online install steps and we just get that 404.

Has anyone seen this before and know a fix?

Information on your n8n setup

  • n8n version: 1.57.0
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 22.04

docker run command “docker run -it --rm --name n8n -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n

Hey @Gibbon,

A 404 could be one of a few things, As you are using docker and port 5678 do you have a reverse proxy in place to handle the traffic and point it to the local container port or are you connecting to http://domain:5678?

Hi Jon, thanks for the reply, we think its going to be a networking issue somewhere, either in Azure or Docker somewhere, we are trying to track it down.

1 Like

We found the fix, simple config error in the end.
We just exposed the N8N port in the runtime config file and it worked.

Thanks for the ideas and help!

1 Like