ubuntucurldnsiptablesnftables

Unable to GET nginx welcome page from Hetzner Ubuntu 24.04. LTS server with custom domain and docker


I am trying to set up a server and have problems GETing the standard nginx welcome page.

My setup:

My problem:

I can not connect to port 8080 of my server, to see the standard welcome page of nginx.

Did I miss something? How can I debug this issue further?

Screenshots:

iptables

nftables

hetzner DNS console entries

hetzner dns entry (textfile)


Solution

  • I found the problem:

    1. I had no firewall in place in the hetzner cloud console. Hetzner blocks all inbound traffic in case of no firewall. So I added a firewall and allowed ports for http, https and ssh.
    2. My DNS entry for the IPv6 address was wrong. I used (example address) 2222:2222:2222:2222:: (wrong) instead of 2222:2222:2222:2222::1 (correct).
    3. I changed the mapping of the docker ports, to 80 instead of 8080 (docker run -it --rm -d -p 80:80 nginx).

    Thanks reddit user u/namesisfortombstones for some helpful hints!

    Now I am finally able to see the nginx welcome page from the browser.