Telegram Webhook can be set up only on ports 80, 88, 443 or 8443

{“ok”:false,“error_code”:400,“description”:“Bad Request: bad webhook: Webhook can be set up only on ports 80, 88, 443 or 8443”

ive used gcp free instance docker and added:
WEBHOOK_URL = http://xx.xxx.xxx.xxx:5678
same for webhook_tunnel_url
im unable to create telegram webhook

help me please

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

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 @Rohith_Bojja

Welcome to the community :raised_hands:

Telegram only supports webhooks using port 80, 88, 443 and 8443 as the error suggests but looking at your webhook_url you are adding port 5678 to the end.

If you are not using this port you can just remove it from the the env option, also don’t set the webhook_tunnel_url option as you don’t need it.

If you are still using n8n on port 5678 to access it I would recommend setting up a reverse proxy to handle it or whatever the Google version of that is.