无法使用WAMP访问localhost或phpMyAdmin [英] Can't access localhost or phpMyAdmin with WAMP

查看:265
本文介绍了无法使用WAMP访问localhost或phpMyAdmin的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Apache v2.2.21,PHP v5.38和MySQL v5.5.16. WAMP图标为绿色.

I'm running Apache v2.2.21, PHP v5.38, and MySQL v5.5.16. The WAMP icon is green.

正如帖子标题所说,我无法从WAMP系统托盘图标菜单访问localhost或phpMyAdmin,也无法通过输入

As the post title says, I can't access either localhost or phpMyAdmin from the WAMP systray icon menu, nor can I by typing http://127.0.0.1/index.php in a browser.

单击localhost或phpMyAdmin会给我错误消息无法连接-Firefox无法在127.0.0.1建立与服务器的连接."

Clicking on either localhost or phpMyAdmin gives me the error message "Unable to connect - Firefox can't establish a connection to the server at 127.0.0.1."

我确实有Skype,并且我知道Skype和WAMP端口冲突有问题,所以我退出了Skype,并尝试了一下,但是得到了相同的结果.

I do have Skype and I know there are issues with Skype and WAMP port conflicts, so I quit Skype, and tried it, but got the same results.

起初,WAMP图标始终为橙色,但此处的一些搜索显示,将httpd.conf中的侦听端口更改为8080(默认为80).那使橙色图标变成绿色.

At first the WAMP icon was always orange, but some searching here revealed that changing the listening port to 8080 (the default is 80) in httpd.conf. That got the orange icon to go green.

推荐答案

已修复.

文章的最后一段是关键:我进入Skype,然后取消选中使用端口80和443作为传入连接的替代方法".然后我回到httpd.conf文件,将"Listen 8080"改回原来的"Listen 80".

The last paragraph in my post was the key: I went into Skype and unchecked the "Use port 80 and 443 as alternatives for incoming connections." Then I went back into the httpd.conf file and changed "Listen 8080" back to the original "Listen 80".

现在Skype和WAMP都可以正常工作了.

Now both Skype and WAMP work properly.

这篇关于无法使用WAMP访问localhost或phpMyAdmin的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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