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”

  • ragingHungryPanda@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 hours ago

    Wait, failure to connect to local host? That’s your own computer, whatever endpoint isn’t going through cloud flare. Most apps respond to ports 80/443. You need to either route those to your computer, or in docker route whatever port you want it on to your app. If you have just one app/website, you can do 80/443 universally to the app. If you have more than one, route them to a reverse proxy that can take a domain or sub-domain name and route them to the ports your apps are on.

    But yeah, you really need to provide more info.

    What’s your environment? What’s your config, setup, etc?

  • irmadlad@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    13 hours ago

    Hey bro. I’m just a FNG here, but I’ve found that the more detail you can give, the better the results (answers) will be. However, two sentences about a Cloudfare error is probably not going to garner much interest. People here I’ve found, are willing to help, but they can’t guess what it is you’re talking about.

    Kind Regards

  • SteveTech@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    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.