首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在中重新安装后,ISPConfig在8080端口不工作

在中重新安装后,ISPConfig在8080端口不工作
EN

Stack Overflow用户
提问于 2020-04-06 20:36:40
回答 1查看 1.7K关注 0票数 0

服务器详细信息: AWS Lightsail和4 GB Ram &2核心操作系统版本: Debain 9.12 (拉伸)

我在DNS记录中添加了静态IP 3.6.*. - A、CNAME、TXT、MX、SRV,以便在重启/etc/文件恢复为默认值后,在AWS中设置主机名,因此我首先编辑了sudo nano /etc/cloud/cloud.cfg,并将参数"preserve_hostname“从"false”设置为"true“,然后将sudo touch /etc/cloud/cloud-init.disabled设置为”sudo touch /etc/cloud/cloud-init.disabled“。

之后,我将/etc/hostname改为server1,并将/etc/host更改为

代码语言:javascript
复制
127.0.0.1       localhost.localdomain   localhost
172.26.***.***   server1.mydomain.com   server1   //** Private IP

然后我重新启动服务器。我通过主机名和主机名-f确认了主机名状态,然后我100%地遵循了ISPConfig 3.1中的指示:在这个论坛的Debian9上自动安装。

netstat -tap结果

代码语言:javascript
复制
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:imaps           0.0.0.0:*               LISTEN      515/dovecot
tcp        0      0 0.0.0.0:pop3s           0.0.0.0:*               LISTEN      515/dovecot
tcp        0      0 localhost.localdo:10023 0.0.0.0:*               LISTEN      346/postgrey --pidf
tcp        0      0 localhost.localdo:10024 0.0.0.0:*               LISTEN      970/amavisd-new (ma
tcp        0      0 localhost.localdo:10025 0.0.0.0:*               LISTEN      942/master
tcp        0      0 localhost.localdo:10026 0.0.0.0:*               LISTEN      970/amavisd-new (ma
tcp        0      0 localhost.localdo:10027 0.0.0.0:*               LISTEN      942/master
tcp        0      0 0.0.0.0:submission      0.0.0.0:*               LISTEN      942/master
tcp        0      0 localhost.localdo:11211 0.0.0.0:*               LISTEN      490/memcached
tcp        0      0 0.0.0.0:pop3            0.0.0.0:*               LISTEN      515/dovecot
tcp        0      0 0.0.0.0:imap2           0.0.0.0:*               LISTEN      515/dovecot
tcp        0      0 0.0.0.0:urd             0.0.0.0:*               LISTEN      942/master
tcp        0      0 0.0.0.0:ftp             0.0.0.0:*               LISTEN      965/pure-ftpd (SERV
tcp        0      0 server1.impusese:domain 0.0.0.0:*               LISTEN      487/named
tcp        0      0 localhost.locald:domain 0.0.0.0:*               LISTEN      487/named
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      546/sshd
tcp        0      0 0.0.0.0:smtp            0.0.0.0:*               LISTEN      942/master
tcp        0      0 localhost.localdoma:953 0.0.0.0:*               LISTEN      487/named
tcp        0      0 localhost.localdo:34736 localhost.localdo:mysql ESTABLISHED 1088/amavisd-new (c
tcp        0    272 server1.impuseserve:ssh ***.198.***.79:33698     ESTABLISHED 5367/sshd: admin [p
tcp       61      0 localhost.localdo:46216 localhost.localdo:10025 CLOSE_WAIT  1088/amavisd-new (c
tcp        0    160 server1.impuseserve:ssh ***.198.***.79:33538     ESTABLISHED 4811/sshd: admin [p
tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      515/dovecot
tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      515/dovecot
tcp6       0      0 ip6-localhost:10024     [::]:*                  LISTEN      970/amavisd-new (ma
tcp6       0      0 ip6-localhost:10026     [::]:*                  LISTEN      970/amavisd-new (ma
tcp6       0      0 [::]:mysql              [::]:*                  LISTEN      788/mysqld
tcp6       0      0 [::]:submission         [::]:*                  LISTEN      942/master
tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      515/dovecot
tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      515/dovecot
tcp6       0      0 [::]:http               [::]:*                  LISTEN      663/apache2
tcp6       0      0 [::]:http-alt           [::]:*                  LISTEN      663/apache2
tcp6       0      0 [::]:urd                [::]:*                  LISTEN      942/master
tcp6       0      0 [::]:tproxy             [::]:*                  LISTEN      663/apache2
tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      965/pure-ftpd (SERV
tcp6       0      0 [::]:domain             [::]:*                  LISTEN      487/named
tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      546/sshd
tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      942/master
tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      487/named
tcp6       0      0 [::]:https              [::]:*                  LISTEN      663/apache2
tcp6       0      0 localhost.localdo:mysql localhost.localdo:34736 ESTABLISHED 788/mysqld

iptables -L结果

代码语言:javascript
复制
target     prot opt source               destination
f2b-pureftpd  tcp  --  anywhere             anywhere             multiport dports ftp
f2b-postfix-sasl  tcp  --  anywhere             anywhere             multiport dports smtp
f2b-sshd   tcp  --  anywhere             anywhere             multiport dports ssh

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

Chain f2b-postfix-sasl (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

Chain f2b-pureftpd (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

Chain f2b-sshd (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere

htf_report.txt

代码语言:javascript
复制
##### SERVER #####
IP-address (as per hostname): ***.***.***.***
[WARN] could not determine server's ip address by ifconfig
[INFO] OS version is Debian GNU/Linux 9.12 (stretch)

[INFO] ISPConfig is installed.
[WARN] /usr/local/ispconfig/server/lib/config.inc.php is missing.

##### VERSION CHECK #####

[INFO] php (cli) version is 7.0.33-0+deb9u7

##### PORT CHECK #####

##### MAIL SERVER CHECK #####

##### RUNNING SERVER PROCESSES #####

[WARN] I could not determine which web server is running.
[WARN] I could not determine which mail server is running.
[WARN] I could not determine which pop3 server is running.
[WARN] I could not determine which imap server is running.
[WARN] I could not determine which ftp server is running.

##### LISTENING PORTS #####
(only           ()
Local           (Address)
[anywhere]:993          (-)
[anywhere]:995          (-)
[localhost]:10023               (-)
[localhost]:10024               (-)
[localhost]:10025               (-)
[localhost]:10026               (-)
[localhost]:10027               (-)
[anywhere]:587          (-)
[localhost]:11211               (-)
[anywhere]:110          (-)
[anywhere]:143          (-)
[anywhere]:465          (-)
[anywhere]:21           (-)
***.***.***.***:53              (-)
[localhost]:53          (-)
[anywhere]:22           (-)
[anywhere]:25           (-)
[localhost]:953         (-)
*:*:*:*::*:993          (-)
*:*:*:*::*:995          (-)
*:*:*:*::*:10024                (-)
*:*:*:*::*:10026                (-)
*:*:*:*::*:3306         (-)
*:*:*:*::*:587          (-)
[localhost]10           (-)
[localhost]43           (-)
*:*:*:*::*:80           (-)
*:*:*:*::*:8080         (-)
*:*:*:*::*:465          (-)
*:*:*:*::*:8081         (-)
*:*:*:*::*:21           (-)
*:*:*:*::*:53           (-)
*:*:*:*::*:22           (-)
*:*:*:*::*:25           (-)
*:*:*:*::*:953          (-)
*:*:*:*::*:443          (-)

##### IPTABLES #####

在我的静态IP 3.6.***.** << Apache主页中加载http://但不加载https:// 3.6.***.** /webmail <<,登录页面加载在http://中,但不加载https://

但是ISPConfig 3并没有在https://server1.mydomain.com:8080https://myprivateip:8080 <<中同时加载,甚至在http:// I中也没有加载ERR_CONNECTION_TIMED_OUT这样的错误。

需要你的支持来解决这个问题..。

EN

回答 1

Stack Overflow用户

发布于 2020-04-11 08:15:05

在lightsail实例中,转到防火墙中的网络>自定义TCP端口8080。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/61068544

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档