2015-08-30 273 views
0

我似乎無法弄清楚什麼阻塞了我的端口。然而我重新檢查了什麼阻止了它,而XAMPP說apache是​​。然後說從根目錄開始?如果它按照自己的意思行事,並不確定它是如何進入自己的。另外,我無法用motepad ++上的apache編輯配置日誌,只是提供了一個空白的新註釋。謝謝!無法在XAMPP上啓動Apache

這裏是日誌---

10:57:21 PM [Apache] \t Problem detected: Apache Not Found! 
 
10:57:21 PM [Apache] \t Disabling Apache buttons 
 
10:57:21 PM [Apache] \t Run this program from your XAMPP root directory! 
 
10:57:21 PM [Apache] \t Problem detected! 
 
10:57:21 PM [Apache] \t Port 80 in use by "C:\xampp\apache\bin\httpd.exe" with PID 15972! 
 
10:57:21 PM [Apache] \t Apache WILL NOT start without the configured ports free! 
 
10:57:21 PM [Apache] \t You need to uninstall/disable/reconfigure the blocking application 
 
10:57:21 PM [Apache] \t or reconfigure Apache and the Control Panel to listen on a different port 
 
10:57:21 PM [Apache] \t Problem detected! 
 
10:57:21 PM [Apache] \t Port 443 in use by "C:\xampp\apache\bin\httpd.exe" with PID 15972! 
 
10:57:21 PM [Apache] \t Apache WILL NOT start without the configured ports free! 
 
10:57:21 PM [Apache] \t You need to uninstall/disable/reconfigure the blocking application 
 
10:57:21 PM [Apache] \t or reconfigure Apache and the Control Panel to listen on a different port

+1

看起來像它已經運行 –

回答

0

確保Skype是不是在你的PC上運行,同時啓動Apache。這是因爲Apache只能在端口80打開時啓動。但Skype保留該端口。您可以退出Skype,啓動Apache,然後再次啓動Skype。

+0

但80端口正在使用的「C:\ XAMPP的\ apache的\斌\ httpd.exe 「 –

+0

opps!你嘗試重新安裝程序嗎? –

+0

端口暢通無阻。現在它只告訴我從我的根目錄運行apache。但是,開始和管理按鈕是灰色的,還有複選框仍然是... – Subieguy14

0

你不需要重新安裝它只是通過以下步驟改變你的Tomcat服務器的端口號:

1.C:\ XAMPP \ tomcat的\的conf \ server.xml中

  • 變化端口號

     <Connector port="8080" protocol="HTTP/1.1" 
         connectionTimeout="20000" 
         redirectPort="8443" /> 
    
  • 8080到未在系統中 實施例1,所使用的任何其他應用程序的任何其他234

    它肯定工作重新啓動服務器,然後啓動tomcat ......

    0

    事情與此類似,在工作發生在我身上的一天,而在Windows 7的筆記本電腦設置XAMPP。安裝完成後,我無法在端口80上啓動Apache,因爲Apache服務已經啓動,儘管XAMPP控制檯顯示已停止。但是,任務管理器顯示httpd服務從XAMPP bin目錄啓動。

    我嘗試卸載,重新安裝...但是有效的是安裝後重新啓動筆記本電腦。一旦Windows恢復正常,我確認Apache沒有啓動。然後,我可以成功打開XAMPP控制檯並啓動Apache。

    傻的Windows ....

    希望這有助於....