Unable to connect (iptables problem?)

Discussion in 'Installation/Configuration' started by Samatttv, Apr 27, 2006.

  1. Samatttv

    Samatttv New Member

    Ok, after a few tries (and forgotten dependencies) I successfully finished the ISPConfig installation after performing a "Perfect Setup" on my remote dedicated server (running FC4).

    My problem now is that I am unable to connect to my server via http or https (referencing the IP address directly). I chose SSL and port 81 for ISPConfig during the installation.

    I dont think this is an ISPConfig-only problem as I am unable to connect to my normal Apache server via port 80 either. Could this be a problem in my iptables? I'm relatively new to linux so I dont want to screw up this table by just messing around with it.

    Here is the output of iptables -L :
    Do I need to open port 81 here? (and 80 for that matter) Or am I completely off base?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    please post the output of:

    netstat -tap
     
  3. Samatttv

    Samatttv New Member

    # 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 *:imaps                     *:*                         LISTEN      1910/xinetd
    tcp        0      0 *:pop3s                     *:*                         LISTEN      1910/xinetd
    tcp        0      0 *:mysql                     *:*                         LISTEN      5895/mysqld
    tcp        0      0 *:pop3                      *:*                         LISTEN      1910/xinetd
    tcp        0      0 *:imap                      *:*                         LISTEN      1910/xinetd
    tcp        0      0 *:81                        *:*                         LISTEN      1745/ispconfig_http
    tcp        0      0 *:ftp                       *:*                         LISTEN      1883/proftpd: (acce
    tcp        0      0 mydomain.dedic:domain *:*                         LISTEN      1865/named
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      1865/named
    tcp        0      0 *:ipp                       *:*                         LISTEN      1866/cupsd
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      1865/named
    tcp        0      0 *:smtp                      *:*                         LISTEN      1838/master
    tcp        0      0 *:http                      *:*                         LISTEN      1766/httpd
    tcp        0      0 *:ssh                       *:*                         LISTEN      1902/sshd
    tcp        0   2004 mydomain.dedicate:ssh wsip-myip.ok.:1555 ESTABLISHED 3917/0
    
    mydomain and myip are replaced
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    The ISPConfig server seems to be running.

    How are you connected to your server? Over the internet or is your server in your local network?
     

Share This Page