Apche How to modify the port number after installation

Source: Internet
Author: User
Apche How to modify the port number after installation
I installed a apche server under Windows, but always show the port number is occupied, can not start, but the system just installed, and did not install what software, please master advice, how to modify the port number


------Solution--------------------
This post was last edited by phpnewnew on 2013-01-20 09:53:08

There should be a httpd.conf file under the Conf folder to search Listen 80
Change the number to the port you need to save the reboot Apache

Via http://localhost: Port access
------Solution--------------------
Modify the conf/httpd.conf in the Apache installation directory
Found (in 50 rows or so)
Listen 80

Change 80 to the value you need and restart Apache

------Solution--------------------
That's wrong. httpd.conf
------Solution--------------------

References:
this post was last edited by phpnewnew at 2013-01-20 09:53:08 there should be a httpd.conf file under the Conf folder to search Listen 80
Change the number to the port you need to save the reboot Apache

Via http://localhost: Port access
+1
------Solution--------------------
May have a system that comes with IIS and takes up 80 ports
------Solution--------------------
You check the console yourself. Which process takes up port 80, change it. The default Apache is 80 can be directly accessed, changed to another port number is not very good, not recommended to change.
  • 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.