因为有的服务器都是给自己测试用的,不喜欢用公开的80和443端口。
参考:Configure apache to listen on port other than 80
编辑这个文件/etc/apache2/ports.conf:
/etc/apache2/ports.conf