小编Owe*_*wen的帖子

如何让 Apache Web Server 侦听两个不同的端口?

我想要一个我在家里安装的 Apache Web 服务器来侦听端口 80 和端口 8080。

我已经添加Listen 8080到 httpd.conf 并重新启动了 Apache 服务,但服务器似乎没有在 8080 上侦听。打入http://localhost:8080超时并且不显示我的 index.html 而是http:/ /localhost将显示我的 index.html。

我如何让它听 80 和 8080?

web-server apache-2.2

48
推荐指数
3
解决办法
22万
查看次数

标签 统计

apache-2.2 ×1

web-server ×1