• 0 Posts
  • 22 Comments
Joined 1 month ago
cake
Cake day: July 31st, 2025

help-circle














  • frongt@lemmy.ziptoSelfhosted@lemmy.worldHaving trouble setting up Nginx
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    8 days ago

    The upstream refused the connection. You have it there as 127.0.0.1, but for inter-container communication usually you’d use the name. 127.0.0.1 would refer to the same container.

    Docker (and other container platform) networking is a bit tricky and I’ll admit I don’t fully understand how it works, because it doesn’t work like regular networking. But a simple scenario like yours shouldn’t be difficult.