如何设置 xampp 打开 localhost:8080 而不仅仅是 localhost

编程入门 行业动态 更新时间:2024-10-26 04:22:35
本文介绍了如何设置 xampp 打开 localhost:8080 而不仅仅是 localhost的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我使用 XAMPP 1.7.3.安装了 Apache 和 MySQL.没有别的了.

I use XAMPP 1.7.3. Apache and MySQL installed. Nothing else.

Apache 安装在默认端口 80.单击 Apache 旁边的 Admin 打开 localhost/xampp/.哪个按预期工作.

Apache installed on default port 80. Clicking on Admin next to Apache opens localhost/xampp/. Which works as expected.

我导航到 xampp/apache/conf/httpd.conf 并对其进行了编辑.设置监听8080.现在 localhost:8080/xampp/ 可以按预期工作,但 Admin 按钮仍会打开 localhost/xampp/ ,它不会打开任何东西.这样做后我重新启动了计算机,但没有结果.

I navigated to xampp/apache/conf/httpd.conf and edited it. Set Listen 8080. Now localhost:8080/xampp/ works as expected but the Admin button still opens localhost/xampp/ which does not open anything. I have restarted the computer after doing so with no results.

如何让 XAMPP apache admin 打开 localhost:8080/xampp ?

How to make XAMPP apache admin open localhost:8080/xampp ?

推荐答案

我相信管理按钮会一直打开默认配置.它只包含一个到 localhost/xampp 的链接,它不读取服务器配置.

I believe the admin button will open the default configuration always. It simply contains a link to localhost/xampp and it doesn't read the server configuration.

如果你改变了默认设置,你就知道你改变了什么,你可以直接在浏览器中输入 URL.

If you change the default settings, you know what you changed and you can enter the URL directly in the browser.

更多推荐

如何设置 xampp 打开 localhost:8080 而不仅仅是 localhost

本文发布于:2023-11-23 02:12:33,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1619715.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:而不   仅仅是   如何设置   localhost   xampp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!