0

I have a personal computer with Ubuntu 18.04 running an apache2 web server and OpenSSH. I have port 80 and port 22 forwarded and I have not changed the default port for apache2. I am able to access my computer via SSH from outside my home network but I cannot access my apache2 web server.

I have the output of sudo netstat -taupen | grep LISTEN here

tcp        0      0 127.0.0.1:45119         0.0.0.0:*               LISTEN      999        31971      1662/Plex Plug-in [ 
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      123        25554      1191/mysqld         
tcp        0      0 127.0.0.1:37585         0.0.0.0:*               LISTEN      999        31807      1528/Plex Plug-in [ 
tcp        0      0 127.0.0.1:32401         0.0.0.0:*               LISTEN      999        29966      1302/Plex Media Ser 
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      101        18268      870/systemd-resolve 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          27322      1070/sshd           
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      0          25700      933/cupsd           
tcp        0      0 127.0.0.1:32600         0.0.0.0:*               LISTEN      999        29035      1629/Plex Tuner Ser 
tcp6       0      0 :::32400                :::*                    LISTEN      999        29964      1302/Plex Media Ser 
tcp6       0      0 :::80                   :::*                    LISTEN      0          26336      1114/apache2        
tcp6       0      0 :::22                   :::*                    LISTEN      0          27324      1070/sshd           
tcp6       0      0 ::1:631                 :::*                    LISTEN      0          25699      933/cupsd

If there is any more information I should look for, I will add that. If someone could help diagnose the problem that would be great because I cannot figure out what to look for.

  • Welcome! Can you see the port 80 is open from outside? – schrodigerscatcuriosity Mar 12 at 20:55
  • @guillermochamorro How can I check that? – Harrison Kyriacou Mar 12 at 20:58
  • Google "port open" you will have several pages that provide the service. – schrodigerscatcuriosity Mar 12 at 21:00
  • What does that picture show? – roaima Mar 12 at 21:02
  • @guillermochamorro It says port 80 is not able to be seen, but 22 is and they are both configured the same way on my router – Harrison Kyriacou Mar 12 at 21:04
0

After doing some more research I found out that some internet service providers block certain ports (port 80, 25, and 110) by default, so that even if you forward a port through your router, the ISP might still block it. I had to call my ISP and ask them to unblock it and this resolved the issue.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.