我目前在我的XAMPP上遇到了問題。它說80端口正在被其他進程或程序使用。我試圖在我的任務管理器中查找程序或進程,但我找不到使用該端口的確切程序。與此同時,由於我需要繼續開發我的項目,我只是改變了Apache端口,但我並不相信這是正確的。XAMPP不工作
這裏的錯誤XAMPP已經返回給我,我是用80端口和SSL 443
6:17:44 PM [Apache] Problem detected!
6:17:44 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
6:17:44 PM [Apache] Apache WILL NOT start without the configured ports free!
6:17:44 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
6:17:44 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
時,我不知道是什麼Port 80 in use by "Unable to open process" with PID 4!
手段。正如我所說,我嘗試過尋找它,但是我找不到任何具有PID 4的任務管理器中的任何進程或程序。請有人幫助我,我真的需要這個。謝謝,我會很感激。
編輯:
netstat -np TCP |找到「80」命令返回了這樣一個列表
TCP 127.0.0.1:1110 127.0.0.1:51480 TIME_WAIT
TCP 192.168.1.3:51032 108.160.162.110:80 ESTABLISHED
TCP 192.168.1.3:51104 173.194.127.37:80 ESTABLISHED
TCP 192.168.1.3:51221 74.125.128.95:80 ESTABLISHED
TCP 192.168.1.3:51226 120.28.35.33:80 ESTABLISHED
TCP 192.168.1.3:51402 66.29.212.73:80 ESTABLISHED
TCP 192.168.1.3:51406 74.125.128.156:80 ESTABLISHED
接下來我該做什麼?
附加:
我試過netstat -aon
。這裏的結果:
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:81 0.0.0.0:0 LISTENING 1468
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 548
TCP 0.0.0.0:444 0.0.0.0:0 LISTENING 1468
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:554 0.0.0.0:0 LISTENING 3168
TCP 0.0.0.0:1110 0.0.0.0:0 LISTENING 1944
TCP 0.0.0.0:2869 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 7624
TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:10243 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:49152 0.0.0.0:0 LISTENING 764
TCP 0.0.0.0:49153 0.0.0.0:0 LISTENING 920
TCP 0.0.0.0:49154 0.0.0.0:0 LISTENING 124
TCP 0.0.0.0:49156 0.0.0.0:0 LISTENING 872
TCP 0.0.0.0:49157 0.0.0.0:0 LISTENING 864
TCP 127.0.0.1:1110 127.0.0.1:51031 ESTABLISHED 1944
TCP 127.0.0.1:1110 127.0.0.1:51785 ESTABLISHED 1944
TCP 127.0.0.1:1110 127.0.0.1:52762 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52780 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52823 ESTABLISHED 1944
TCP 127.0.0.1:1110 127.0.0.1:52829 ESTABLISHED 1944
TCP 127.0.0.1:1110 127.0.0.1:52839 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52841 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52845 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52847 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52852 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52855 ESTABLISHED 1944
TCP 127.0.0.1:1110 127.0.0.1:52884 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52886 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52902 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52904 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52906 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52909 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52911 TIME_WAIT 0
TCP 127.0.0.1:1110 127.0.0.1:52913 CLOSE_WAIT 1944
TCP 127.0.0.1:3306 127.0.0.1:51127 ESTABLISHED 7624
TCP 127.0.0.1:3306 127.0.0.1:51945 ESTABLISHED 7624
TCP 127.0.0.1:3306 127.0.0.1:51949 ESTABLISHED 7624
TCP 127.0.0.1:3306 127.0.0.1:52009 ESTABLISHED 7624
TCP 127.0.0.1:3306 127.0.0.1:52398 ESTABLISHED 7624
TCP 127.0.0.1:3306 127.0.0.1:52400 ESTABLISHED 7624
TCP 127.0.0.1:5354 0.0.0.0:0 LISTENING 1976
TCP 127.0.0.1:5354 127.0.0.1:49155 ESTABLISHED 1976
TCP 127.0.0.1:27015 0.0.0.0:0 LISTENING 1908
TCP 127.0.0.1:27015 127.0.0.1:49195 ESTABLISHED 1908
TCP 127.0.0.1:49155 127.0.0.1:5354 ESTABLISHED 1908
TCP 127.0.0.1:49195 127.0.0.1:27015 ESTABLISHED 4508
TCP 127.0.0.1:50796 0.0.0.0:0 LISTENING 7800
TCP 127.0.0.1:51031 127.0.0.1:1110 ESTABLISHED 4172
TCP 127.0.0.1:51127 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:51785 127.0.0.1:1110 ESTABLISHED 4560
TCP 127.0.0.1:51945 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:51949 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:52009 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:52398 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:52400 127.0.0.1:3306 ESTABLISHED 7776
TCP 127.0.0.1:52784 127.0.0.1:1110 TIME_WAIT 0
TCP 127.0.0.1:52823 127.0.0.1:1110 ESTABLISHED 4560
TCP 127.0.0.1:52829 127.0.0.1:1110 ESTABLISHED 4560
TCP 127.0.0.1:52855 127.0.0.1:1110 ESTABLISHED 4560
TCP 127.0.0.1:52872 127.0.0.1:1110 TIME_WAIT 0
TCP 127.0.0.1:52913 127.0.0.1:1110 FIN_WAIT_2 4560
TCP 192.168.1.3:139 0.0.0.0:0 LISTENING 4
TCP 192.168.1.3:51032 108.160.162.110:80 ESTABLISHED 1944
TCP 192.168.1.3:51786 69.171.248.16:443 ESTABLISHED 1944
TCP 192.168.1.3:52824 31.13.68.16:443 ESTABLISHED 1944
TCP 192.168.1.3:52831 74.125.128.95:80 ESTABLISHED 1944
TCP 192.168.1.3:52858 173.194.127.37:80 ESTABLISHED 1944
TCP 192.168.1.3:52908 27.111.185.144:443 TIME_WAIT 0
TCP 192.168.1.3:52914 198.252.206.16:80 FIN_WAIT_2 1944
TCP [::]:80 [::]:0 LISTENING 4
TCP [::]:81 [::]:0 LISTENING 1468
TCP [::]:135 [::]:0 LISTENING 548
TCP [::]:444 [::]:0 LISTENING 1468
TCP [::]:445 [::]:0 LISTENING 4
TCP [::]:554 [::]:0 LISTENING 3168
TCP [::]:1110 [::]:0 LISTENING 1944
TCP [::]:2869 [::]:0 LISTENING 4
TCP [::]:3587 [::]:0 LISTENING 4904
TCP [::]:5357 [::]:0 LISTENING 4
TCP [::]:10243 [::]:0 LISTENING 4
TCP [::]:49152 [::]:0 LISTENING 764
TCP [::]:49153 [::]:0 LISTENING 920
TCP [::]:49154 [::]:0 LISTENING 124
TCP [::]:49156 [::]:0 LISTENING 872
TCP [::]:49157 [::]:0 LISTENING 864
UDP 0.0.0.0:500 *:* 124
UDP 0.0.0.0:3544 *:* 124
UDP 0.0.0.0:3702 *:* 1048
UDP 0.0.0.0:3702 *:* 1064
UDP 0.0.0.0:3702 *:* 1048
UDP 0.0.0.0:3702 *:* 3560
UDP 0.0.0.0:3702 *:* 1064
UDP 0.0.0.0:3702 *:* 3560
UDP 0.0.0.0:4500 *:* 124
UDP 0.0.0.0:5004 *:* 3168
UDP 0.0.0.0:5005 *:* 3168
UDP 0.0.0.0:5355 *:* 1328
UDP 0.0.0.0:49154 *:* 1976
UDP 0.0.0.0:59056 *:* 1048
UDP 0.0.0.0:59058 *:* 1064
UDP 0.0.0.0:60910 *:* 3560
UDP 127.0.0.1:1233 *:* 7048
UDP 127.0.0.1:1900 *:* 3560
UDP 127.0.0.1:49152 *:* 1908
UDP 127.0.0.1:49153 *:* 1908
UDP 127.0.0.1:49169 *:* 4508
UDP 127.0.0.1:49170 *:* 4508
UDP 127.0.0.1:51245 *:* 3560
UDP 127.0.0.1:64663 *:* 4560
UDP 192.168.1.3:137 *:* 4
UDP 192.168.1.3:138 *:* 4
UDP 192.168.1.3:1900 *:* 3560
UDP 192.168.1.3:5353 *:* 1976
UDP 192.168.1.3:51244 *:* 3560
UDP 192.168.1.3:62356 *:* 124
UDP [::]:500 *:* 124
UDP [::]:3540 *:* 4904
UDP [::]:3702 *:* 1064
UDP [::]:3702 *:* 1064
UDP [::]:3702 *:* 3560
UDP [::]:3702 *:* 1048
UDP [::]:3702 *:* 3560
UDP [::]:3702 *:* 1048
UDP [::]:4500 *:* 124
UDP [::]:5004 *:* 3168
UDP [::]:5005 *:* 3168
UDP [::]:5355 *:* 1328
UDP [::]:49155 *:* 1976
UDP [::]:59057 *:* 1048
UDP [::]:59059 *:* 1064
UDP [::]:60911 *:* 3560
UDP [::1]:1900 *:* 3560
UDP [::1]:5353 *:* 1976
UDP [::1]:51243 *:* 3560
UDP [fe80::99d4:6002:6b3a:4842%17]:546 *:* 920
UDP [fe80::99d4:6002:6b3a:4842%17]:1900 *:* 3560
UDP [fe80::99d4:6002:6b3a:4842%17]:51242 *:* 3560
FIX
所以我在MS VS項目的工作昨晚。我遇到了錯誤(與此主題無關),這些錯誤要求我在Windows功能上打開.NET Framework 3.5。原來這是罪魁禍首。因爲我不再需要它,所以我把它關掉了,繁榮,港口80已經被釋放。
這是一個非常非常孤立的案例,但有一天,這個線程可能會幫助某人。所以祝你好運!感謝所有回答的人。對此,我真的非常感激。再次感謝!
你有沒有安裝Skype? https://support.skype.com/zh/faq/FA148/which-ports-need-to-be-open-to-use-skype-for-windows-desktop –
編號最後一個程序我'在這個錯誤開始之前已經安裝了MS SQL數據庫引擎和其他一些MS程序。 – christianleroy
是的..如果Skype正在運行,那麼xampp將不會啓動Apache服務 – 2013-08-19 10:29:22