Connect ECONNREFUSED 172.217.166.10:443

Describe the problem/error/question

I’ve been seeing this in my Docker n8n container log: “connect ECONNREFUSED 172.217.166.10:443” or other type of “connect ECONNREFUSED <‘some address:443’>.”

Check the attached other images at the end of this post.

I’m newbie to n8n, please answer in a way I can understand. Thank you >3

What is the error message (if any)?

When I’m trying to run the YouTube or Google Sheet nodes in my workflow,
I’m able to see the ECONNREFUSED error in the logs, and also my YouTube node is not able to execute the output successfully.

Please share your workflow

Share the output returned by the last node

From YouTube
Error code - ECONNREFUSED

Full message - connect ECONNREFUSED 172.217.174.234:443
Other info
Node type - n8n-nodes-base.youTube

Node version - 1 (Latest)

n8n version - 1.97.1 (Self Hosted)

Time - 6/14/2025, 11:56:13 AM

Stack trace

NodeApiError: The service refused the connection - perhaps it is offline at ExecuteContext.googleApiRequest 
(/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@aws-sdk+credential-
[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Google/YouTube/GenericFunctions.ts:40:9) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Google/YouTube/YouTube.node.ts:827:22) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27 at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11


Information on your n8n setup

  • **n8n version: 1.97.1 (Self Hosted)
  • **Database (default: SQLite): **
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): **
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Desktop app
  • **Operating system: Windows 10

PS: The issue is solved now by myself. Thank you <3

1 Like

@SUSANxITACHI

What was the fix btw? Interested to know :slight_smile: thank you

Samuel

1 Like

Hello! Thanks for asking mate🙂
I believe the issue is with my firewall rules [using Kaspersky Premium as cybersecurity and antivirus provider software], as it didn’t allow :443 to have the connection.

The IP address that I have mentioned seems to be Google servers. I had trouble when trying to run Google Sheets and YouTube nodes.

As I tried all troubleshooting, I found that turning off the firewall worked for me, and I wasn’t sure about how to set a rule for this to bypass, and so I was left with turning off the firewall.

1 Like

Ahh, @SUSANxITACHI thanks makes sense, I’ll have to remember this :slight_smile: have a great day thanks for replying too :slight_smile:

Samuel

1 Like