美文网首页我爱编程
XAMPP更改了Apache的端口, 无法打开localhost

XAMPP更改了Apache的端口, 无法打开localhost

作者: Tanya木易 | 来源:发表于2018-02-23 11:12 被阅读0次

问题:XAMPP中,更改了Apache的端口, 无法打开localhost

解决方法:
首先确定
1.目录\ xampp\apache\conf 下httpd.conf,80端口全部改成一个未被占用的端口,比如8080;
2.目录 \ xampp\apache\conf\extra 下打开httpd-ssl.conf ,443端口全部换成一个未被占用的端口,比如4433。

确定两个目录下的所有80 和 443有修改。没有更改Apache的端口时,使用的是 http://localhost 访问xampp主页。

更改后, 假设80改为了8080 则使用 http://localhost:8080 访问xampp主页

相关文章

网友评论

    本文标题:XAMPP更改了Apache的端口, 无法打开localhost

    本文链接:https://www.haomeiwen.com/subject/bgotxftx.html