Home >Operation and Maintenance >Apache >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
Enter the apache configuration file directory
Right-click to edit the apache configuration File httpd.conf
ctrl f Quickly search Listen
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
##Restart apache After opening the browser, you can access it through 127.0.0.1:90For more Apache related knowledge, please visit theApache 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!