hello,

i tried to start a lemmy docker but have an error on Lemmy-ui

There was an error on the server. Try refreshing your browser. If that doesn't work, come back at a later time.

I have checked log in Lemmy-ui, there are

Lemmy-ui v0.19.2 started listening on http://0.0.0.0:1234 API error: FetchError: request to http://0.0.0.0:8536/api/v3/site? failed, reason: connect ECONNREFUSED 0.0.0.0:8536

what is the problem here?

  • hauiA
    link
    fedilink
    arrow-up
    1
    ·
    5 months ago

    This sounds like my setup. With nginx and docker you can directly connect lemmy-ui and lemmy instead of using the outside ip or ports. I use portainer to manage my containers and use the container names to link nginx to it (like http://lemmy:1234)