Apache solves the 80 port occupancy problem
- 2020-10-23 21:17:54
- OfStack
After installing mongodb today, it was found that apache could not start
The command line services.msc opens the service
Start Apache2a service in the service, error error code 1
Check on the Internet there are a lot of circumstances are reported 1
You can use the command line under apache bin httpd.exe step 1
AH00548: NameVirtualHost has no effect and will be removed in the next release D:/phpStudy/Apache/conf/extra/httpd-vhosts.conf:34
(OS 10013) In order to 1 This is done in a way that access permission does not allow 1 Three attempts to access the socket. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013) In order to 1 This is done in a way that access permission does not allow 1 Three attempts to access the socket. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs
It is estimated here that port 80 is occupied. I have once encountered that port 80 is occupied by System before, which was solved by modifying the listening port in ES23en.conf
From the command line
netstat -ano|findstr 80
View the pid occupied for 4
Display all processes via tasklist
System 4 Services 0 108 K
As expected, it is still occupied by System, which must be solved this time. According to the data, we know that System1 is generally the service of SQL Server Reporting Services (MSSQLSERVER)
Go directly to the service to disable it, apache successfully turned on
conclusion
Above is the site to you to solve the Apache 80 port occupation problem, I hope to help you, if you have any questions welcome to leave a message, this site will reply you in time!