Error message Bad request: Webhook can be set up only on ports 80, 88, 443 or 8443

n8n version: 1.110.1
diagnostic output showing that N8N_PUBLIC_URL is correctly set to my domain
Everything is set to http sand environment variables, etc but the webhooks still shows localhost and it needs to show the domain.

Describe the problem/error/question

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hey @Tony_P hope all is well.

What you are looking for is probably WEBHOOK_URL.

I am not sure what N8N_PUBLIC_URL is though. Where did you find info about it (I think I know the answer, but am still curious?

AI chat =) its been spot on or 95% but it said WEBHOOK_URL is no longer used

ok update. AI was wrong. WEBHOOK_URL needs to be set. so now it shows the domain.

If my answer was helpful, kindly mark it as Solution. Thank you.

Cheers!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.