2013-02-01 117 views
4

XAMPP 3.1.0不工作,因爲端口80正在使用中。我環顧四周,這似乎是一個普遍的問題。我已經停止了IIS,skype沒有運行,web部署代理服務正在運行,我已經改變了Apache的httpd.conf的配置來聽取端口80,按照這個問題的第二個答案:XAMPP PORT 80 is Busy/EasyPHP error in Apache configuration file:,但仍然沒有運氣。下面是XAMPP的控制面板上的錯誤信息:Windows 7中的XAMPP端口80錯誤

2:03:49 PM [Apache] Problem detected! 
2:03:49 PM [Apache] Port 80 in use by "system"! 
2:03:49 PM [Apache] Apache WILL NOT start without the configured ports free! 
2:03:49 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 
2:03:49 PM [Apache] or reconfigure Apache to listen on a different port 
2:03:49 PM [Apache] XAMPP Apache is already running on port 443 
2:03:49 PM [mysql] MySQL Service detected with wrong path 
2:03:49 PM [mysql] Change XAMPP MySQL settings or 
2:03:49 PM [mysql] Uninstall/disable the other service manually first 
2:03:49 PM [mysql] Found Path: ERROR: Not Able To Open Service Manager 
2:03:49 PM [mysql] Expected Path: c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini mysql 
2:03:49 PM [mysql] Problem detected! 
2:03:49 PM [mysql] Port 3306 in use by "mysqld.exe"! 
2:03:49 PM [mysql] MySQL WILL NOT start without the configured ports free! 
2:03:49 PM [mysql] You need to uninstall/disable/reconfigure the blocking application 
2:03:49 PM [mysql] or reconfigure MySQL to listen on a different port 
2:03:49 PM [Tomcat] Problem detected! 
2:03:49 PM [Tomcat] Port 8080 in use by "c:\xampp\apache\bin\httpd.exe"! 
2:03:49 PM [Tomcat] Tomcat WILL NOT start without the configured ports free! 
2:03:49 PM [Tomcat] You need to uninstall/disable/reconfigure the blocking application 
2:03:49 PM [Tomcat] or reconfigure Tomcat to listen on a different port 

當我去到localhost它需要我,即使該服務是在控制面板停止IIS7屏幕。

回答

2

看到由電腦雜亂的回答這個鏈接(我希望它能幫助) work by Apache and port 80

如果沒有,那麼試試下面的,因爲它在我的情況幫助: 錯誤的原因是一個SQL Reporting Services的是利用Apache使用的PORT 80。禁用SQL Reporting Services自動啓動將明確解決該問題。

停止SQL報告服務,開始,然後鍵入管理工具,單擊名稱,選擇計算機管理,然後服務和應用程序> SQL Server配置>服務&查找SQL報告Servicves,將其設置爲手動啓動,停止。

重新啓動您的XAMPP服務器,希望你是好去:)

1

我在Windows 8上安裝XAMPP以及之後得到這個錯誤:

[Apache] You need to uninstall/disable/reconfigure the blocking application 
[Apache] or reconfigure Apache to listen on a different port 

這是我做的到修復它:

  1. 轉到Windows Update並確保所有的Windows更新h已經過處理。

  2. 重新啓動計算機。並啓動XAMPP控制面板。然後,錯誤都消失了,並顯示此:

    [main] Windows Version: Windows 8 Pro 64-bit 
    [main] XAMPP Version: 1.8.3 
    [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ] 
    [main] You are not running with administrator rights! This will work for 
    [main] most application stuff but whenever you do something with services 
    [main] there will be a security dialogue or things will break! So think 
    [main] about running this application with administrator rights! 
    [main] XAMPP Installation Directory: "c:\xampp\" 
    [main] Checking for prerequisites 
    [main] All prerequisites found 
    [main] Initializing Modules 
    [main] Starting Check-Timer 
    [main] Control Panel Ready 
    

所以一些警告,但它啓動確定。

6

在提升的命令提示符下使用netstat -bano來查看哪些應用正在哪些端口上偵聽。

但通常,下列應用程序使用端口80在Windows中:

IIS 
World Wide Web Publishing service 
IIS Admin Service 
SQL Server Reporting services 
Web Deployment Agent Service 

停止所有正在運行的應用程序之上的。您可以在任務管理器的「服務」選項卡上執行此操作。