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

查看:676
本文介绍了如何设置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并进行了编辑.设置Listen 8080.现在,http://localhost:8080/xampp/可以按预期工作,但是管理"按钮仍会打开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管理员打开localhost:8080/xampp?

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

推荐答案

我相信admin按钮将始终打开默认配置.它仅包含指向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天全站免登陆