Cannot access n8n on http://localhost:5678/ using Docker Desktop for Linux

Describe the problem/error/question

I have loaded Docker Desktop for Linux on my server.
I have followed the instructions to install n8n on my Docker.
I can succesfully run the Docker container but when I try access the n8n instance using my web browser I get a unable to connect.

Please see below:
image

  • **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
  • **Operating system:Ubuntu 22.04 LTS

Hey @Dean_Rosin,

Are you trying to connect from the machine you are running the container on or a different one? localhost is local to the machine you are using so if it is a different machine you would need to use the IP of the machine.