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

Selfhosted

60177 readers
875 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
[–] SteveTech@programming.dev 3 points 11 months ago (1 children)

Can you access it without Cloudflare?

Does curl http://localhost:8536/ work?

You are using cloudflared right? Because normal (non-cloudflared) Cloudflare doesn't support port 8536.

[–] cutebc24@piefed.social 2 points 11 months ago (1 children)

Cloudflared, yes. "curl: (7) Failed to connect to localhost port 8536 after 0 ms: Couldn't connect to server"

[–] SteveTech@programming.dev 3 points 11 months ago* (last edited 11 months ago) (2 children)

What's the URL you using to access it without Cloudflare?

Edit: Also that curl tells me it's not listening on that IP/port.

[–] cutebc24@piefed.social 2 points 11 months ago (1 children)
[–] SteveTech@programming.dev 1 points 11 months ago

How are you accessing it without Cloudflare? How do you know that Lemmy is actually listening?

[–] ragingHungryPanda@lemmy.zip 1 points 11 months ago

To add: (I'm just going down the checklist here https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/)

  • Can you show us that cloudflared is actually running. I wanna see it
  • Does your firewall allow the connection

Here's the troubleshooting page
https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/troubleshoot-tunnels/