How to modify the Apache Port

Source: Internet
Author: User
Apache Port modification php I want to modify Apache Port modification under AppServ to modify httpd. conf in F: \ AppServ \ Apache2.2 \ conf to change Listen9000 in httpd. conf to modify ServerNamelocalh Apache Port

Php I want to modify the Apache Port modification under AppServ to modify httpd. conf in F: \ AppServ \ Apache2.2 \ conf
Change Listen 80 in httpd. conf to Listen 9000.
Changed ServerName localhost: 80 to ServerName localhost: 9000.



------ Solution --------------------
Congratulations, LZ has been changed... and the purpose of this post is ?....
------ Solution --------------------
In addition, apache can listen to multiple ports at the same time.

------ Solution --------------------
Configure the virtual directory!
------ Solution --------------------
Yes. ls
------ Solution --------------------
Yes. the purpose of this post is...
------ Solution --------------------
Thank you!
------ Solution --------------------
Did the landlord scatter points?
------ Solution --------------------
Haha, the landlord is humorous.
------ Solution --------------------
The restart will take effect,

There is also a configuration test tool in window that can test the configuration file.
------ Solution --------------------
Restart apache and you will be successful.
------ Solution --------------------
Well, that's it.
------ Solution --------------------
What are error messages?
------ Solution --------------------

------ Solution --------------------
It seems that I have to change the port to three places, but I have forgotten how to change it for too long.

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.