• 1 Post
  • 39 Comments
Joined 20 days ago
cake
Cake day: June 22nd, 2025

help-circle
  • It should, and yes I used to think that. I’m in the UK and some routers just fail to work properly with higher port numbers, especially cheap routers from cheaper providers. Once you start getting above 8000 the traffic is limited thus me saying try a lower port number. Plus yunohost doesn’t really ask for a port number as you should add a domain first, then install the application (it uses docker btw) on that domain, then cloudflare to the domain. So the port number isn’t required. I’m guessing, but can’t be sure, that this is the real issue. yunohost adds a self signed cert and configures the firewall etc. so if you don’t do it right using a cloudflare tunnel it just doesn’t work. I’m guessing the OP hasn’t done it like this, and then it will never work - believe me I’ve tried. yunohost also adds fail2ban, firewall inside yunohost and various other ways to protect what is served




  • It depends… the OP is also using yunohost which can and does have some issues with higher port numbers, plus you also have to factor in if he is self hosting as I suspect, some routers also won’t properly forward higher port numbers either. Difficult to say but lowering the port number is one thing to try. Too many variables to really drill down and say what is happening



  • Cloudflare and yunohost user here. Need to install the cloudflared service and make sure it runs and the tunnel connects in the zero trust dashboard. Will say healthy when it does. Try a lower port number, something in the 2000-3000 range is good to test. Then in the correct tunnel once it is showing healthy you need to add a public hostname (for ease of use). Say lemmy.mydomain.com, use https then localhost:portnumber/ Then in additional settings you have to turn on notlsverify else it won’t work. That should get it working. To be honest I’ve not bothered setting up various ports other than the defaults so you shouldn’t need to set up the port so just try https and localhost and that should do the trick - this could be where you are going wrong as yunohost doesn’t explicity need the port setting in most common configurations. Then in the yunohost admin area you can go into applications and open the app and it should work. Any probs give us a shout








  • seen the other post about white screen - you need to turn on the no tls verify in additional settings on cloudflare tunnel and it needs to be set to https and then localhost to work. So just to make sure, the easiest way to do this is to go to the tunnel in zero trust, add a public hostname which is exactly the same as the domain you added in yunohost, set it to https, localhost, then turn on no tls verify. Should work then…