Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Win10 WampServer 黃燈無法啟動:修改 Apache 監聽埠 80 → 8088 解決埠衝突

編輯:Win10 系統應用技巧

WampServer 圖示持續呈黃色 (僅部分服務啟動),主因 Apache 預設埠 80 被系統服務 (如 IIS、Web Deployment Agent、PID 4 System) 佔用。

快速解決:

  1. 左鍵點選 WampServer 托盤圖示 → 「Apache」 → 「httpd.conf」 (記事本開啟)。
  2. Ctrl + F 搜尋 Listen 80。
  3. 將所有 Listen 80 改為 Listen 8088 (或其他未被佔用埠,如 8080、8888)。
  4. 儲存檔案,左鍵托盤圖示 → 「Restart All Services」 (重新啟動所有服務)。
  5. 圖示轉綠色後,瀏覽器訪問 https://localhost:8088 即可正常使用。

進階:若需保持埠 80,須在 services.msc 停用並設為停用 World Wide Web Publishing Service (W3SVC)、Web Deployment Agent Service 等佔用埠 80 的系統服務。

Copyright © Windows教程網 All Rights Reserved