How to modify apache port

藏色散人
Release: 2019-08-06 10:00:52
Original
18927 people have browsed it

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template