Home > Operation and Maintenance > Apache > How to change the apache port number

How to change the apache port number

藏色散人
Release: 2019-07-01 10:37:11
Original
5749 people have browsed it

How to change the apache port number

How to change the apache port number?

How to change the apache port number:

1. First enter the apache configuration file directory, double-click to open and edit the apache configuration file httpd.conf file:

How to change the apache port number

2, then ctrl f to quickly find Listen Keyword, locate the position where the keyword is changed:

How to change the apache port number

3. Go to the Listen 80 line and change 80 to another unoccupied port number, such as 90 , save the file and restart apache to complete.

The above is how to modify the default port 80 of Apache:

How to change the apache port number

For more Apache related knowledge, please visit the Apache usage tutorial column !

The above is the detailed content of How to change the apache port number. 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