Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to change the port number of apache

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

What this article shares with you is about how to modify the port number of apache. The editor thinks it is very practical, so I share it with you to learn. I hope you can get something after reading this article.

Locate the httpd.conf file in the conf directory under the Apache installation directory (that is, d:\ Apache\ conf\ httpd.conf). Open it.

Find "Listen80", followed by the number of Listen is the port number, we changed to "Listen 8080". It can be changed to another unused port number.

Restart Apache for the new configuration to take effect. You can start apache using the "Apache Serive Monitor" of the status bar in the lower right corner.

You can also click start > run > enter cmd > enter > navigate to the apache installation directory to the bin directory, and then enter "httpd-k start".

Extended data:

Apache is the number one Web server software in the world. It can run on almost all widely used computer platforms, and is one of the most popular Web server-side software because of its cross-platform and security. It is fast, reliable and can compile interpreters such as Perl/Python into the server through a simple API extension. At the same time, Apache is transliterated as Apache, a tribe of North American Indians, called Apache, in the southwest of the United States. It is also the name of a foundation, a helicopter gunship and so on.

The above is how to modify the port number of apache. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report