Xampp:网络浏览器不会显示本地主机页面 [英] Xampp: web browser won't show the localhost page

查看:24
本文介绍了Xampp:网络浏览器不会显示本地主机页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在 Windows7(64 位)上安装了 xampp.我想使用 PHP、Apache 和 MySql.服务器 Apache 和 MySql 服务在 Xampp 控制面板上正常运行.但是当我在我的网络浏览器上运行 localhost 时,它只显示正在连接.没有其他的.与以前的环境相比,它在 IIS 上运行良好.

I have installed xampp on Windows7(64bit).I want to work with PHP, Apache and MySql. The server Apache and the MySql services are running properly on the Xampp control panel. But when I run the localhost on my web browser it just shows connecting. Nothing else. Compare to previous enviroment it runs well with IIS.

推荐答案

尝试在你的 cmd 上执行 netstat -a 看看是否有其他服务正在运行在端口 80 上.你也可以使用 netstat -b 来查找服务的名称,但这需要 cmd 以管理员身份运行.最可能的罪魁祸首是在此端口上运行的其他一些服务不允许 Xampp 正常启动?你有像Skype这样的服务吗?如果是这样,这就是您无法访问特定页面的原因.您可以做的另一件事是进入 httpd.conf 并将监听更改为 80 以外的其他端口并进行测试.更改端口后不要忘记添加 localhost:your selected port测试一下.

Try doing a netstat -a on your cmd and see if there are any other services which are running on port 80.You can also use netstat -b to find the name of the service however this requires cmd to be run as administrator. The most likely culprit is that there are some other services running on this port which do not allow Xampp to start up properly? Do you have a service like skype . If so that is the reason your not able to access particular page. An other thing you can do is to go into httpd.conf and change the listen to some other port other than 80 and test it out.Dont forget to add localhost:your selected port once you change the port to test it out.

这篇关于Xampp:网络浏览器不会显示本地主机页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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