this post was submitted on 07 Jul 2025
18 points (84.6% liked)

Selfhosted

49405 readers
921 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I don't know what to do, I'm experimenting with creating a Lemmy instance. it's listening on port 8536 but cloudflare won't respond and connect and while i connected the tunnel to the instance, i can't figure out the error or how to make it connect to the server.

"Failed to connect to localhost port 8536 after 0 ms: Couldn't connect to server"

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 day ago

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