There is something we don’t understand. We have Caddy correctly configured, including the necessary port forwarding rules on the modem/router, capable of routing requests for http:// mydomain. example. com to services within our LAN. If we configure something very simple, like:
But you said that port 9000 is accessible from inside your network, just not outside. And the only thing in between the outside and the inside is your router.
You asked “it seems that Homey SHS can only respond on port 443”, and I answered: that’s not correct. Homey SHS only responds to ports 4859 (HTTP) and 4860 (HTTPS).
You’re now asking about the reverse proxy listening on port 443, which is something else.
That’s why I asked if port 9000 worked in your local network, because if it does, it’s not an issue with the reverse proxy setup.
ERR_CONNECTION_REFUSED is a sign that either your router or your reverse proxy aren’t set up correctly. Even if, for some reason, Homey SHS depends on being accessed through a reverse proxy on port 443, you should not get that specific error if port forwarding and reverse proxy are set up properly.
The Homey app will check this setting and use the own domain directly instead of cloud access.
But as written it’s using port 443. So you have to use port 443 for accessing your router from the www. If you are already using this port for something else, use a subdomain like shs.mydomain.com in your provider/domain settings and forward this subdomain to your router.
Then add port forwarding for port 443 to your reverse proxy.
In reverse proxy, forward the specific subdomain to your SHS.