Web Page Not Available - Ubuntu VPS

Discussion in 'Installation/Configuration' started by Seanmcn, Nov 24, 2012.

  1. Seanmcn

    Seanmcn New Member

    Hey there,

    I've installed and reinstalled ipconfig3 using this guide:
    http://www.howtoforge.com/perfect-server-ubuntu-12.10-apache2-bind-dovecot-ispconfig-3-p7

    Everything seems to go fine, no errors during install. Apache works, Squirellmail works. Yet i try to access http://domain.com:8080 and I get "This web page is not available" I didn't opt for https:// so that isn't the case i think. I've also opened up the firewall on the VPS hosting side however I dont know if I'm meant to add an exception or something to the ubuntu firewall?

    Any help appreciated!

    netstat -tap
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN      23205/mysqld
    tcp        0      0 *:pop3                  *:*                     LISTEN      24326/dovecot
    tcp        0      0 *:imap2                 *:*                     LISTEN      24326/dovecot
    tcp        0      0 *:http-alt              *:*                     LISTEN      24381/apache2
    tcp        0      0 *:http                  *:*                     LISTEN      24381/apache2
    tcp        0      0 *:tproxy                *:*                     LISTEN      24381/apache2
    tcp        0      0 dev.domain.ie:domain     *:*                     LISTEN      24422/named
    tcp        0      0 localhost:domain        *:*                     LISTEN      24422/named
    tcp        0      0 *:ftp                   *:*                     LISTEN      24403/pure-ftpd (SE
    tcp        0      0 *:ssh                   *:*                     LISTEN      502/sshd
    tcp        0      0 localhost:953           *:*                     LISTEN      24422/named
    tcp        0      0 *:https                 *:*                     LISTEN      24381/apache2
    tcp        0      0 *:imaps                 *:*                     LISTEN      24326/dovecot
    tcp        0      0 *:pop3s                 *:*                     LISTEN      24326/dovecot
    tcp        0      0 localhost:10024         *:*                     LISTEN      23574/amavisd (mast
    tcp        0      0 localhost:9000          *:*                     LISTEN      1476/php-fpm.conf)
    tcp        0      0 localhost:39815         localhost:ftp           TIME_WAIT   -
    tcp        0    404 dev.domain.ie:ssh        ip-00-000-000-000:13925 ESTABLISHED 22591/0
    tcp        0      0 localhost:http          localhost:46191         TIME_WAIT   -
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      24326/dovecot
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      24326/dovecot
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      24422/named
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      24403/pure-ftpd (SE
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      502/sshd
    tcp6       0      0 ::1%166941189:953       [::]:*                  LISTEN      24422/named
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      24326/dovecot
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      24326/dovecot
    
     
    Last edited: Nov 24, 2012
  2. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig is running, so it's most likely a firewall problem.

    Did you check if your ISP is maybe blocking port 8080?

    What's the output of
    Code:
    iptables -L
    on the server?
     
  3. Seanmcn

    Seanmcn New Member

    Heres the output:

    Code:
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http-alt
    DROP       tcp  --  anywhere             127.0.0.0/8
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere
    DROP       all  --  base-address.mcast.net/4  anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    DROP       all  --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PAROLE (11 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PUB_IN (5 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:imap2
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:mysql
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http-alt
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:webmin
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain PUB_OUT (5 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain fail2ban-dovecot-pop3imap (0 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-pureftpd (0 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-ssh (0 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    root@dev:~# iptables -L
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    fail2ban-ssh  tcp  --  anywhere             anywhere             multiport dports ssh
    ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:http-alt
    DROP       tcp  --  anywhere             127.0.0.0/8
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere
    DROP       all  --  base-address.mcast.net/4  anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere             state RELATED,ESTABLISHED
    DROP       all  --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PAROLE (11 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PUB_IN (5 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere             icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere             icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere             icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:imap2
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:mysql
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:http-alt
    PAROLE     tcp  --  anywhere             anywhere             tcp dpt:webmin
    ACCEPT     udp  --  anywhere             anywhere             udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain PUB_OUT (5 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain fail2ban-dovecot-pop3imap (0 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-pureftpd (0 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     all  --  anywhere             anywhere
    
     
    Last edited: Nov 24, 2012
  4. falko

    falko Super Moderator Howtoforge Staff

    Looks ok, so something else must be blocking port 8080.
     
  5. Seanmcn

    Seanmcn New Member

    Any idea what? I thought this was a support forum!
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Please check all firewalls, routers, and ask your ISP if they block port 8080.
     

Share This Page