Home  >  Article  >  Operation and Maintenance  >  How to modify apache port

How to modify apache port

藏色散人
藏色散人Original
2019-08-06 10:00:5218821browse

How to modify apache port

How to modify the apache port?

I will not introduce the killing of the process occupying port 80. I will mainly introduce the modification of the apache port.

How to modify the apache port:

First go to the apache installation directory

How to modify apache port

Enter the apache configuration file directory

How to modify apache port

Right-click to edit the apache configuration File httpd.conf

How to modify apache port

ctrl f Quickly search Listen

How to modify apache port

to the Listen 80 line, change 80 to something else There is no occupied port number. I changed it to 90 here. Save the current modification

How to modify apache port

How to modify apache port

##Restart apache

How to modify apache port

After opening the browser, you can access it through 127.0.0.1:90

For more Apache related knowledge, please visit the

Apache usage tutorial column!

The above is the detailed content of How to modify apache port. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn