WAMPServer 3.2.0:无法访问此站点 [英] WAMPServer 3.2.0: This site can’t be reached
问题描述
我一直在使用 WAMPServer 来运行 PHP,为此我使用了端口 8181.今天,突然,我无法使用 WAMPServer 访问 localhost,当我尝试在此地址打开页面时收到此消息:http://localhost:8181/
I have been using WAMPServer to run PHP and I am using port 8181 for that. Today, suddenly, I can't access localhost using WAMPServer and I get this message when I try to open a page at this address: http://localhost:8181/
无法访问此站点本地主机拒绝连接
This site can’t be reached localhost refused to connect
尝试更改端口但没有成功.
Tried to change port but did not work.
当我启动它时,WAMPServer 图标是橙色的.我试图通过单击 Apache -> 来解决此问题.服务管理 'wampapache64' ->安装服务
.之后我点击了 Apache ->服务管理 'wampapache64 ->启动/恢复服务
.然后我点击Restart All Services
.尽管如此,我还是看到了旧的橙色图标.
Edit 1:
The WAMPServer icon is orange when I start it. I have tried to resolve this by clicking Apache -> Service administration 'wampapache64' -> Install Service
. After that I have clicked Apache -> Service administration 'wampapache64 -> Start/Resume Service
. Then I clicked on Restart All Services
. Still, I see the same old orange icon.
推荐答案
我面临的问题是由我之前创建的别名目录引起的.此别名目录位于外部硬盘驱动器内.问题是我拔掉了外部硬盘驱动器并尝试启动 WAMPServer.右键单击 WAMPServer 图标,然后单击 Tools ->检查 httpd.conf 语法
,我注意到了这个问题.所以,我只是插入了外置硬盘,问题就解决了.
The problem I was facing was caused by an alias directory that I created earlier. This alias directory was located inside an external hard drive. The problem was I unplugged that external hard drive and tried to start WAMPServer. By right clicking on the WAMPServer icon and then by clicking on Tools -> Check httpd.conf syntax
, I noticed this issue. So, I just plugged in the external hard drive and the problem is solved.
这篇关于WAMPServer 3.2.0:无法访问此站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!