I am trying to set up a server and have problems GETing the standard nginx welcome page.
My setup:
iptables
/ nftables
yet (see screenshots below), there is no firewall active in the Hetzner cloud consolenslookup
for my domain (e.g. nslookup example.com
)docker run -it --rm -d -p 8080:80 nginx
)ping
the domain from my local machine and see the matching logs on my Ubuntu server with tcpdump ip proto \\icmp
My problem:
I can not connect to port 8080 of my server, to see the standard welcome page of nginx.
curl example.com
returns Connection refused
for IPv4 and Network is unreachable
for IPv6Error: connect ECONNREFUSED
for the call GET examlpe.com
NS_ERROR_CONNECTION_REFUSED
Did I miss something? How can I debug this issue further?
Screenshots:
I found the problem:
Thanks reddit user u/namesisfortombstones for some helpful hints!
Now I am finally able to see the nginx welcome page from the browser.