this post was submitted on 07 Jul 2025
17 points (84.0% liked)

Selfhosted

60281 readers
602 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details.

Resources:

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

Questions? DM the mods!

founded 3 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
[–] jivandabeast@lemmy.browntown.dev 1 points 11 months ago (1 children)

Are you pointing cloudflare directly to Lemmy? I have mine going from cloudflare to Nginx Proxy Manager configured to serve Lemmy.

There is some additional configuration necessary for a reverse proxy in front of Lemmy, which is potentially where things are getting messed up for you?

[–] node815@lemmy.world 1 points 11 months ago (3 children)

Cloudflare tunnels support higher port numbers. I've done it in the past with Portainer. Also Proxmox which listens on 8006. Portainer on 9443.

[–] 3dcadmin@lemmy.relayeasy.com 1 points 11 months ago

and... with yunohost in most setups there is no need to use port numbers, for various reasons

[–] 3dcadmin@lemmy.relayeasy.com 1 points 11 months ago

It does, but there are issues especially with proxy content. Way easier to listen on lower port numbers especially to debug

[–] jivandabeast@lemmy.browntown.dev 1 points 11 months ago

I don't doubt that, I'm saying this more because there are additional routes that i had to configure in NPM to get lemmy working properly. This may be where OP is having issues, you can probably set them up in CF too but I have no idea.