Apache port 80 occupation problems, apache80 port occupation

Source: Internet
Author: User

Apache port 80 occupation problems, apache80 port occupation

After installing mongodb today, apache cannot be started.

Command Line services. msc open the service

Start the Apache2a service in the service with the error code 1.

1 reported in many cases for online queries

You can use the command line to execute httpd.exe in apache bin for more information.

AH00548: NameVirtualHost has no effect and will be removed in the next release D:/phpStudy/Apache/conf/extra/httpd-vhosts.conf: 34
(OS 10013) attempted to access the socket in a way that the access permission is not allowed. : AH00072: make_sock: cocould not bind to address [:]: 80
(OS 10013) attempted to access the socket in a way that the access permission is not allowed. : AH00072: make_sock: cocould not bind to address 0.0.0.0: 80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

It is estimated that port 80 is occupied. I have encountered that port 80 is occupied by System before, and then changed the listener port in httpd. conf to solve this problem.

Run the command line netstat-ano | findstr 80 to check that the occupied pid is 4.

Display All processes through tasklist

System 4 Services 0 108 K

Sure enough, it is still occupied by System. This time it must be solved. We can see that System is generally a service of SQL Server Reporting Services (MSSQLSERVER ).

Disable it directly in the service. apache is enabled successfully.

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.