How to connect with localhost?

“Error: connect ECONNREFUSED at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16) at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)”,

Hi, how can we connect services running on local services using http node?
my n8n instance is self hosted using docker compose, and nginx as reverse proxy.
n8n version 1.17.1

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hey @Rajan, refers to the local host of the machine or container, Assuming you don’t have these services running in the same container as n8n you would need to use the containers name if they are all in the same container network or use the containers IP if you know what it is.

1 Like