I have apache2 running on an Armbian 5.25 box and I can connect to apache on port 80 from within my network, but not externally. I can connect to the box using ssh externally. I have forwarded ports 21, 22, and 80 in my router. Since the ssh is working I assume my port forwarding of port 80 is also working, so I am trying to figure out why I can't reach apache externally. Here is my output from netstat -ntl showing that it is listening on port 80:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0    *               LISTEN
tcp        0      0*               LISTEN
tcp        0      0  *               LISTEN
tcp        0      0    *               LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 :::80                   :::*                    LISTEN
tcp6       0      0 :::21                   :::*                    LISTEN

I don't have iptables installed or firewall-cmd, as both return command not found (even when running as root).

  • As a side note, command not found could be a path problem. Feb 14, 2017 at 14:24
  • 1
    It looks like it's listening on 80, but with tcp6 only.
    – user147505
    Feb 14, 2017 at 14:34
  • Could be a path problem, true, but iptables is not installed in /sbin or /bin. Anywhere else I should look? Feb 14, 2017 at 15:12
  • Based on reading other threads it sounds like other people have reported that netstat only shows ip6 but listens on both ip4 and ip6, so I wasn't concerned about that. Should I be? Feb 14, 2017 at 15:14
  • I changed "Listen 80" to "Listen" and now netstat shows that apache is listening on tcp instead of tcp6, but I still cannot connect (after restarting apache). Feb 14, 2017 at 15:19

1 Answer 1


Your ISP may be blocking 80. Try using port 8080 on your router and forward to port 80 on your Armbian.

  • I can't check this until I get home, but looking it up I see that Optimum does block port 80, so that is likely the problem here. Thanks for pointing that out. Feb 14, 2017 at 19:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .