Ubuntu Apache 添加端口

编辑 /etc/apache2/ports.conf,添加你要监听的端口

Listen 8888

设置虚拟主机

<VirtualHost *:8888>
...
</VirtualHost>