Web server can connect to itself. #6096
-
Hello-- I have been self-hosting Nextcloud servers for about 5 years now but this is the first time trying out the AIO using docker on Ubuntu 24.04 LTS. The deployment went fine following the official guide here however, I have a ton of warnings all related to the web server not being able to connect to itself. Here's what I did to troubleshoot:
This all indicates that there is no issue with my DNS, NAT or firewall from the server perspective, but rather that something is blocking the url on 80 and 443 from inside of docker. I do have a hairpin NAT rule set up on my main firewall as mentioned in another post regarding the same issue. If it wasn't working, I would not be able to curl from outside of docker. Any help figuring this out would be greatly appreciated. I searched for a few hours and found a lot of people with the same issue but no resolution so far. Regards, Here are the current warnings: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I had a similar problem and for me the issue came from an entry in /etc/hosts (on the host) pointing nc2.mydomain.com to 127.0.0.1 Additionally in my case: |
Beta Was this translation helpful? Give feedback.
This has been resolved by editing the following files: