回复: 如何改变端口

改两个文件:

#
# Part of file: /etc/httpd/conf/httpd.conf
#

Listen 8080
#
# Part of file: /etc/sysconfig/iptables
#

-A INPUT -p tcp -m multiport --dport 8080,443,25,465,110,995,143,993,22 -j ACCEPT

回复: 如何改变端口

现在可以在安装 iRedMail(>=0.2-rc2) 前先编辑 'iRedMail-x.y.z/conf/httpd' 文件,设置 Apache 的监听端口。例如:

#
# Part of file: iRedMail-x.y.z/conf/httpd
#

export HTTPD_PORT='8080'