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”

  • jivandabeast@lemmy.browntown.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 hours ago

    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
      link
      fedilink
      English
      arrow-up
      1
      ·
      19 hours ago

      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
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 hours 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
        link
        fedilink
        English
        arrow-up
        1
        ·
        18 hours 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.