Use Domain name or IP address for webhooks?

Currently have n8n with the config set up on a docker container to use a subdomain so to trigger a woebhook I use, for examplee:

https://n8n.mydomain.com/webhook-test/testing

I have tried to use the IP address/port of the docker image to do the same - eg:

https://123.123.123.123:5678/webhook-test/testing

but I get ERR_CONNECTION_REFUSED

Is it possible to set it up to allow the use of either subdomain or IP address on the same install?

Hey @seank1968,

I would expect https to fail using the container IP unless you have configured the container to use an SSL certificate, There is also the networking side of things as well, you would need to make sure that whatever is calling the IP has access to the webhook url and port.

In the UI we will only show one option which is our only supported option but if the routing is place and you know what the webhook path would be using the ip and port would probably work.

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