Hi all!

I’ve had Nextcloud installed on Docker and it has been working for a while until now.

I had to change my server from wifi to Ethernet and gave it a new static IP. I also uninstalled docker and reinstalled it so I’d be starting fresh.

I have Nextcloud working and when I go to localhost:8070, Nextcloud works properly. When I use another device connected to the same network by wifi, it doesn’t work.

I made sure the config.php file has the server’s static IP address listed in the trusted domains category.

This used to work before but now after hours of troubleshooting, I’m all out of ideas and frustrated 😩 Any help is appreciated.

EDIT: My wife to stroll by and casually was all “did you check Windows Firewall?” and lo and behold, Windows Firewall chose today to block private connections on Docker Desktop backend -_-

Once I enabled it everything worked perfectly. Leaving this up here in case someone else stumbles upon this exact issue.

  • 9488fcea02a9@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 year ago

    What is the error you get when you try to connect from another device? If not a webserver error, then maybe a firewall issue. Docker might do weird things to your firewall rules when you first install

    • PerogiBoi@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’ve had Docker running a Nextcloud container successfully without issues twice before but you were exactly right.

      Docker for some reason unchecked “private connections” in firewall settings. Re-checking it fixed everything and my sanity is back.

      • 9488fcea02a9@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        I stopped using docker because of this terrible behaviour…

        How can anyone design a container that silently rewrites the firewall rules on the host??? Makes no sense

        Podman manages to work without doing this

        • PerogiBoi@lemmy.caOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Ya checking windows firewall was the very last thing I had on my bingo list. It just didn’t logically make sense to me that it would work two other times without issue but the third time, my firewall settings quietly change 😆

          I’ll look into podman and see if I’m smart enough to use it properly.