无法连接到我的apache服务器,因为有此问题:
13:55:14 [main] Initializing Control Panel
13:55:14 [main] Windows Version: Windows 7 Home Premium SP1 64-bit
13:55:14 [main] XAMPP Version: 1.8.2
13:55:14 [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
13:55:14 [main] Running with Administrator rights - good!
13:55:14 [main] XAMPP Installation Directory: "c:\xampp\"
13:55:14 [main] Checking for prerequisites
13:55:14 [main] All prerequisites found
13:55:14 [main] Initializing Modules
13:55:14 [Apache] Problem detected!
13:55:14 [Apache] Port 443 in use by "Unable to open process" with PID 4!
13:55:14 [Apache] Apache WILL NOT start without the configured ports free!
13:55:14 [Apache] You need to uninstall/disable/reconfigure the blocking application
13:55:14 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
13:55:14 [main] Enabling autostart for module "Apache"
13:55:14 [main] Starting Check-Timer
13:55:14 [main] Control Panel Ready
13:55:15 [Apache] Autostart active: starting...
13:55:15 [Apache] Problem detected!
13:55:15 [Apache] Port 443 in use by "Unable to open process" with PID 4!
13:55:15 [Apache] Apache WILL NOT start without the configured ports free!
13:55:15 [Apache] You need to uninstall/disable/reconfigure the blocking application
13:55:15 [Apache] or reconfigure Apache and the Control Panel to listen on a different port
13:55:15 [Apache] Attempting to start Apache app...
13:55:16 [Apache] Status change detected: running
13:55:18 [Apache] Status change detected: stopped
13:55:18 [Apache] Error: Apache shutdown unexpectedly.
13:55:18 [Apache] This may be due to a blocked port, missing dependencies,
13:55:18 [Apache] improper privileges, a crash, or a shutdown by another method.
13:55:18 [Apache] Press the Logs button to view error logs and check
13:55:18 [Apache] the Windows Event Viewer for more clues
13:55:18 [Apache] If you need more help, copy and post this
13:55:18 [Apache] entire log window on the forums
13:57:09 [Apache] Status change detected: running
13:57:11 [Apache] Status change detected: stopped
13:57:11 [Apache] Error: Apache shutdown unexpectedly.
13:57:11 [Apache] This may be due to a blocked port, missing dependencies,
13:57:11 [Apache] improper privileges, a crash, or a shutdown by another method.
13:57:11 [Apache] Press the Logs button to view error logs and check
13:57:11 [Apache] the Windows Event Viewer for more clues
13:57:11 [Apache] If you need more help, copy and post this
13:57:11 [Apache] entire log window on the forums看了其他答案,没有太多帮助。已尝试更改ssl配置文件中的端口,取消勾选80和443端口作为skype中的替代端口。
控制台输出:
C:\windows\system32>netstat -a -n -o |findstr 443
TCP 0.0.0.0:443 0.0.0.0:0 LISTENING 4
TCP 127.0.0.1:55443 127.0.0.1:55444 ESTABLISHED 5688
TCP 127.0.0.1:55444 127.0.0.1:55443 ESTABLISHED 5688
TCP 137.195.217.195:49765 217.69.138.96:443 ESTABLISHED 6396
TCP 137.195.217.195:49906 91.190.218.65:443 TIME_WAIT 0
TCP 137.195.217.195:49933 217.121.239.186:443 TIME_WAIT 0
TCP 137.195.217.195:49934 109.226.143.173:443 TIME_WAIT 0
TCP 137.195.217.195:49941 82.238.69.143:443 TIME_WAIT 0
TCP 137.195.217.195:49942 77.250.206.134:443 TIME_WAIT 0
TCP 137.195.217.195:50234 91.190.218.17:443 TIME_WAIT 0
TCP 137.195.217.195:50369 46.118.72.191:443 TIME_WAIT 0
TCP 137.195.217.195:50370 140.164.26.217:443 TIME_WAIT 0
TCP 137.195.217.195:50379 92.122.83.240:443 ESTABLISHED 5512
TCP [::]:443 [::]:0 LISTENING 4对于如何最终顺利使用XAMPP有什么建议吗?提前感谢
发布于 2013-12-05 22:25:26
尝试更改pid为4的进程的设置,使其不使用端口443或将其关闭。如果不能这样做,请尝试更改apache端口。更改端口指南:http://complete-concrete-concise.com/web-tools/how-to-change-the-apache-port-in-xampp编辑:意外发布了apache端口更改而不是ssl这里是ssl和apache的指南:http://furqansindhu.wordpress.com/2012/03/07/change-apache-port-in-xampp/
发布于 2014-12-05 21:26:56
您必须更改xampp\apache\conf\extra\httpd-ssl.conf上的ssl端口。搜索443,将其更改为4430或您喜欢的任何其他名称。应该能行得通。
https://stackoverflow.com/questions/20402374
复制相似问题