Not able to reach ISPCONFIG Control panel after installation.

Discussion in 'ISPConfig 3 Priority Support' started by pawan, May 17, 2022.

  1. pawan

    pawan Member

    I checked with a online tool if port 80, 8080 is open.
    it is showing as closed. could this be the reason.
    also run a command - netstat -tulnp
    and I get the result like this:
    Code:
    Active Internet connections (only servers)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      597/dovecot
    tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      597/dovecot
    tcp        0      0 127.0.0.1:11332         0.0.0.0:*               LISTEN      635/rspamd: main pr
    tcp        0      0 127.0.0.1:11333         0.0.0.0:*               LISTEN      635/rspamd: main pr
    tcp        0      0 127.0.0.1:11334         0.0.0.0:*               LISTEN      635/rspamd: main pr
    tcp        0      0 127.0.0.1:10023         0.0.0.0:*               LISTEN      1013/postgrey --pid
    tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      1796/master
    tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN      822/redis-server 12
    tcp        0      0 127.0.0.1:11211         0.0.0.0:*               LISTEN      607/memcached
    tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      597/dovecot
    tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      597/dovecot
    tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      1796/master
    tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      1043/pure-ftpd (SER
    tcp        0      0 103.198.192.36:53       0.0.0.0:*               LISTEN      608/named
    tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      608/named
    tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      582/systemd-resolve
    tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      696/sshd: /usr/sbin
    tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      1796/master
    tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      608/named
    tcp        0      0 0.0.0.0:4190            0.0.0.0:*               LISTEN      597/dovecot
    tcp6       0      0 :::993                  :::*                    LISTEN      597/dovecot
    tcp6       0      0 :::995                  :::*                    LISTEN      597/dovecot
    tcp6       0      0 :::3306                 :::*                    LISTEN      838/mysqld
    tcp6       0      0 :::587                  :::*                    LISTEN      1796/master
    tcp6       0      0 ::1:6379                :::*                    LISTEN      822/redis-server 12
    tcp6       0      0 :::110                  :::*                    LISTEN      597/dovecot
    tcp6       0      0 :::143                  :::*                    LISTEN      597/dovecot
    tcp6       0      0 :::8080                 :::*                    LISTEN      981/apache2
    tcp6       0      0 :::80                   :::*                    LISTEN      981/apache2
    tcp6       0      0 :::465                  :::*                    LISTEN      1796/master
    tcp6       0      0 :::8081                 :::*                    LISTEN      981/apache2
    tcp6       0      0 :::21                   :::*                    LISTEN      1043/pure-ftpd (SER
    tcp6       0      0 fe80::215:5dff:fed6::53 :::*                    LISTEN      608/named
    tcp6       0      0 ::1:53                  :::*                    LISTEN      608/named
    tcp6       0      0 :::22                   :::*                    LISTEN      696/sshd: /usr/sbin
    tcp6       0      0 :::25                   :::*                    LISTEN      1796/master
    tcp6       0      0 ::1:953                 :::*                    LISTEN      608/named
    tcp6       0      0 :::443                  :::*                    LISTEN      981/apache2
    tcp6       0      0 :::4190                 :::*                    LISTEN      597/dovecot
    udp        0      0 103.198.192.36:53       0.0.0.0:*                           608/named
    udp        0      0 127.0.0.1:53            0.0.0.0:*                           608/named
    udp        0      0 127.0.0.53:53           0.0.0.0:*                           582/systemd-resolve
    udp        0      0 103.198.192.36:123      0.0.0.0:*                           700/ntpd
    udp        0      0 127.0.0.1:123           0.0.0.0:*                           700/ntpd
    udp        0      0 0.0.0.0:123             0.0.0.0:*                           700/ntpd
    udp6       0      0 ::1:53                  :::*                                608/named
    udp6       0      0 fe80::215:5dff:fed6::53 :::*                                608/named
    udp6       0      0 fe80::215:5dff:fed6:123 :::*                                700/ntpd
    udp6       0      0 ::1:123                 :::*                                700/ntpd
    udp6       0      0 :::123                  :::*                                700/ntpd
    
    does it make sense, If I need to make change somewhere?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. Apache is listening on port 8080, so it's likely that you have a firewall in front of the system (in the datacenter or at cloud provider) where the ports are closed.
     
  3. pawan

    pawan Member

    now ports are open, but now I am getting another error -
    Error 400 - trying to redirect
     
  4. pawan

    pawan Member

    on further digging in browser console I am getting
    Uncaught SyntaxError: '' literal not terminated before end of script
    and on check the details of this error it is showing

    <script>document.location.href='https://'+location.hostname+':'+location.port';</script><h1>Error 400 - trying to redirect</h1>
    should I do a resinstall of ispconfig?
     
  5. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    You are trying to open the page with http instead of https. Use https.

    That script should redirect, but I have seen some issues with it. Needs some attention from me.
     
    pawan likes this.

Share This Page