Home > Backend Development > PHP Tutorial > apche安装后如何修改端口号

apche安装后如何修改端口号

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:12:41
Original
904 people have browsed it

apche安装后怎么修改端口号
我在Windows下安装了个apche服务器,却老是显示端口号被占用,启动不了,但是系统刚装,并没有装什么软件,请大师指教下,怎么修改端口号


------解决方案--------------------
本帖最后由 PhpNewnew 于 2013-01-20 09:53:08 编辑 在 conf文件夹下应该有个 httpd.conf 的文件 搜索一下 Listen 80
 将数字修改成你需要的端口  保存 重新启动 apache

通过 http://localhost:端口  访问
------解决方案--------------------
修改 apache 安装目录下的 conf/httpd.conf
找到(在50行左右)
Listen 80

把 80 改为你需要的值,重启 apache

------解决方案--------------------
说错了。。。httpd.conf
------解决方案--------------------
引用:
本帖最后由 PhpNewnew 于 2013-01-20 09:53:08 编辑在 conf文件夹下应该有个 httpd.conf 的文件 搜索一下 Listen 80
 将数字修改成你需要的端口  保存 重新启动 apache

通过 http://localhost:端口  访问
+1
------解决方案--------------------
可能系統自帶了iis,且占用了80端口
------解决方案--------------------
你自己通过控制台查一下哪个进程占用了80端口,改一改。默认的apache是80可以直接访问,改成别的端口号不太好,不建议改。
Related labels:
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