简体   繁体   中英

Unable to Open Proccess with PID 4 , problem port 80 and Apache

Problem detected! 3:19:55 AM [Apache] Port 80 in use by "Unable to open process" with PID 4! 3:19:55 AM [Apache] Apache WILL NOT start without the configured ports free! 3:19:55 AM [Apache] You need to uninstall/disable/reconfigure the blocking application 3:19:55 AM [Apache] or configure Apache and the Control Panel to listen on a different port

How can i solve the php control panel PID problem.

can you tell me about your envirenment please ?

if you are running on localhost use the 8080 port instead of 80

if you are running on linux such as ubuntu try to run this cmd fuser -n tcp -k 80 it's will close all the process on the 80 port

Using Powershell you can find a process by port:

Get-Process -Id (Get-NetTCPConnection -LocalPort 80).OwningProcess

If System is the process opening that port then usually another service has requested this. Here is a list of possible processes:

  • SQL Server Reporting Services (ReportServer)
  • Web Deployment Agent Service (MsDepSvc)
  • BranchCache (PeerDistSvc)
  • Sync Share Service (SyncShareSvc)
  • World Wide Web Publishing Service (W3SVC)
  • Internet Information Server (WAS, IISADMIN)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM