Page 1 of 1

Port 80 in use by "Unable to open process" with PID 4!

PostPosted: 27. January 2022 02:39
by kwameq
this is the error i get after i installed xampp

1:32:38 AM [main] Initializing Control Panel
1:32:38 AM [main] Windows Version: Enterprise 64-bit
1:32:38 AM [main] XAMPP Version: 8.1.2
1:32:38 AM [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
1:32:38 AM [main] You are not running with administrator rights! This will work for
1:32:38 AM [main] most application stuff but whenever you do something with services
1:32:38 AM [main] there will be a security dialogue or things will break! So think
1:32:38 AM [main] about running this application with administrator rights!
1:32:38 AM [main] XAMPP Installation Directory: "d:\xampp\"
1:32:38 AM [main] Checking for prerequisites
1:33:01 AM [main] All prerequisites found
1:33:01 AM [main] Initializing Modules
1:33:01 AM [Apache] Problem detected!
1:33:01 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
1:33:01 AM [Apache] Apache WILL NOT start without the configured ports free!
1:33:01 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
1:33:01 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
1:33:02 AM [main] Starting Check-Timer
1:33:02 AM [main] Control Panel Ready
1:33:06 AM [Apache] Problem detected!
1:33:06 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!
1:33:06 AM [Apache] Apache WILL NOT start without the configured ports free!
1:33:06 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
1:33:06 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
1:33:06 AM [Apache] Attempting to start Apache app...
1:33:07 AM [Apache] Status change detected: running
1:33:15 AM [Apache] Status change detected: stopped
1:33:15 AM [Apache] Error: Apache shutdown unexpectedly.
1:33:15 AM [Apache] This may be due to a blocked port, missing dependencies,
1:33:15 AM [Apache] improper privileges, a crash, or a shutdown by another method.
1:33:15 AM [Apache] Press the Logs button to view error logs and check
1:33:15 AM [Apache] the Windows Event Viewer for more clues
1:33:15 AM [Apache] If you need more help, copy and post this
1:33:15 AM [Apache] entire log window on the forums


what could be wrong? how can i rectify it?

[EDIT by Altrea: splitted from original topic - not related. One topic per unique user and issue rule]

Re: Port 80 in use by "Unable to open process" with PID 4!

PostPosted: 27. January 2022 07:45
by Altrea
Hi,

kwameq wrote:1:33:06 AM [Apache] Port 80 in use by "Unable to open process" with PID 4!

There is a sticky Q&A for that: [Q&A] solving Port 80 in use by PID 4 (http.sys) issue