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
    118 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
      115 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
        link
        fedilink
        English
        17 hours ago

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

      • 3dcadmin
        link
        fedilink
        English
        17 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
        114 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.