小智 5
如果您想让 apache 侦听默认端口以外的端口,您可以执行以下操作:
Edit ports.conf
nano /etc/apache2/ports.conf
Add a Listen directive
Listen default port
Listen 8888
Restart Apache
/etc/init.d/apache2 restart
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
40956 次 |
| 最近记录: |