如何设置 xampp 打开 localhost:8080 而不仅仅是 localhost [英] How to set xampp open localhost:8080 instead of just localhost

查看:94
本文介绍了如何设置 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 打开 http://localhost/xampp/.哪个按预期工作.

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

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

I navigated to xampp/apache/conf/httpd.conf and edited it. Set Listen 8080. Now http://localhost:8080/xampp/ works as expected but the Admin button still opens http://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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆