How to modify the port number after apche is installed

Source: Internet
Author: User
After apche is installed, how can I modify the port number? I installed an apche server in Windows, but it always shows that the port number is occupied and cannot be started, but the system is just installed and there is no software installed, please advise me how to modify the port number, and how to modify the port number after PhpNewnew is installed on apche 2 in this post.
I installed an apche server in Windows, but it always showed that the port number was occupied and cannot be started. However, the system was just installed and there was no software installed. please advise me how to modify the port number.
------ Solution --------------------
At the end of this post, PhpNewnew was edited at 09:53:08. in the conf folder, there should be an httpd. conf file to search for Listen 80.
Change the number to the port you need to save and restart apache

Access through http: // localhost: Port
------ Solution --------------------
Modify conf/httpd. conf in the apache installation directory
Locate (about 50 rows)
Listen 80

Change 80 to the value you need and restart apache

------ Solution --------------------
Wrong... Httpd. conf
------ Solution --------------------
Reference:
At the end of this post, PhpNewnew was edited at 09:53:08. in the conf folder, there should be an httpd. conf file to search for Listen 80.
Change the number to the port you need to save and restart apache

Access through http: // localhost: Port
+ 1
------ Solution --------------------
It is possible that the system carries iis and occupies port 80.
------ Solution --------------------
You can check which process occupies port 80 on the console. The default value of apache is 80, which can be accessed directly. it is not recommended to change it to another port number.

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.