Disable port 5678 docker

Hi colleague,

I install n8n in local virtual machine using docker, and it install very well on local network. After that I install cloudflare tunnel in local virtual machine hosted ubuntu server image.

PROBLEM:
When I start creating work flow when I need any authentication like one drive for app, URL cloudflare provide me without port. n8n local user cloudflare URL but with port 5678. Now problem is that I can not remove port 5678 from webhook url to use as call back url.

I want to remove port number from webhook url. Any one can send me docker file and setp by setp guid to install fresh???

  • n8n version:
  • LATEST
  • Database (default: SQLite):
  • SQL light
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • main
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • docker
  • Operating system:
  • ubuntu 22.04

Hi, this shouldn’t be issue. You replace the host and port number by the that of the tunnel name

E.g https://cloudflaretunnel/ will point to localhost:5678/webhook-test/uuid

So in a remote system you will use

Https://cloudflaretunnel/webhook-test/uuid

The same for oauth

So the idea is to tell the cloudflare software to map to 5678. Once that is done it’s transparent

Reg,
J.

I already did but not working. It give me error after success google or one drive accept error that call back url is not same.

Hi, Did you set the WEBHOOK_URL env Var to the tunnel one?

Reg,
J.

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