Apache 啟動日誌顯示:
Child 2764: Starting thread to listen on port 8080.
瀏覽器訪問 https://localhost 或 https://127.0.0.1 無法打開。
Apache 監聽 **8080 端口**,而非默認 80 端口。瀏覽器默認訪問 80 端口,需顯式指定端口號。
https://127.0.0.1:8080 或 https://localhost:8080httpd.conf:Listen 80
// 命令行測試
telnet 127.0.0.1 8080
// 或
curl https://127.0.0.1:8080
若返回 HTML,說明服務正常,僅是瀏覽器地址缺端口。