this post was submitted on 17 Jan 2024
1 points (100.0% liked)

Lemmy Support

4696 readers
6 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 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)