rystaf / mlmym

a familiar desktop experience for lemmy
GNU Affero General Public License v3.0
246 stars 16 forks source link

mlmym tries to connect to localhost #105

Closed Tmpod closed 1 month ago

Tmpod commented 1 month ago

Hi!

I'm in the process of migrating my instance to a new machine, and I've hit a little issue with mlmym. I've set the LEMMY_DOMAIN variable to my instance's domain, but then I get errors like these:

Get "https://lemmy.pt/api/v3/site": dial tcp 127.0.0.1:443: connect: connection refused
Get "https://lemmy.pt/api/v3/post/list?limit=25&page=1&sort=Hot&type_=All": dial tcp 127.0.0.1:443: connect: connection refused
unable to retrieve site

And obviously the webpage doesn't load any content. For some reason it tries to connect to localhost...

Any ideas? I'm using the latest Docker image.

Edit: worth noting I didn't change mlmym's Compose service settings, it's the same as in the previous server.

Tmpod commented 1 month ago

Never mind, it was an issue with my /etc/hosts with podman.