本地主机不适用于 Windows 7 的 XAMPP 1.7.7 [英] Localhost not working on XAMPP 1.7.7 for Windows 7
问题描述
我的 xampp 安装 1.7.7 似乎不起作用.http://localhost 返回 localhost 上的搜索结果
My xampp installation 1.7.7 does not seem to work. http://localhost returns search results on localhost
XAMPP 安装在 C:\xampp
XAMPP instaled in C:\xampp
Xampp 控制面板显示 mysql &apache 服务运行良好.
Xampp Control panel shows both mysql & apache service running fine.
更改了 Skype 互联网连接设置(工具-选项-高级-连接面板并取消选择使用 80 和 443 作为传入连接的替代方案")
Changed Skype internet connection settings (Tools-Options-Advanced-Connection panel and deselected the "Use 80 and 443 as alternatives for incoming connections")
我使用的是 Windows 7.
I'am on windows 7.
关闭 IIS(控制面板-系统和安全-管理工具-Internet 信息服务管理器-管理服务器-停止)
Turned IIS off ( Control Panel-System and Security-Administrative Tools-Internet Information Services Manager-Manage Server- Stop)
非常感谢.
推荐答案
正如我所见,这是 Windows 7 和 VIsta 的常见问题"——在某些情况下,这些系统不知道localhost".尝试使用 http://127.0.0.1 或添加一行到文件 C:\Windows\System32\drivers\etc\hosts这一行是:
As I saw this is common "problem" for Windows 7 and VIsta - in some cases these systems doesn't know 'localhost'. Try use http://127.0.0.1 or add one line to file C:\Windows\System32\drivers\etc\hosts This line is:
127.0.0.1 localhost
这篇关于本地主机不适用于 Windows 7 的 XAMPP 1.7.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!