WAMP服务器未加载本地主机 [英] WAMP Server doesn't load localhost

查看:78
本文介绍了WAMP服务器未加载本地主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的WAMP服务器有一个小"问题.昨天一切正常(WAMP在端口8081-空闲端口,无论我打开了什么程序),但是今天,我无法到达localhost:8081.只是不断加载和加载...

I have a "small" problem with my WAMP Server. Everything worked fine (WAMP is on port 8081 - free port no matter what program I have open) yesterday but today, I can't reach localhost:8081. It's just keep loading and loading and loading...

我已经尝试了所有方法-在路由器和防火墙中打开端口,检查端口当前是否打开并且可以访问(依此类推).今天早些时候,我将最新的Windows更新安装到Windows 7 Ultimate 64位,重新启动计算机并开始运行-我无法访问localhost:8081.在重新启动计算机之前,它运行良好.

I have tried everything - open the port in my router and in my firewall, check that the port is currently open and reachable (which it is) and so on. I installed the latest Windows updates to Windows 7 Ultimate 64-bit earlier this day, restarted my computer and boom - I can't reach localhost:8081. It worked perfectly before I restarted the computer.

更新为KB2620704,KB2588516,KB2617657和KB890830.

The updates was KB2620704, KB2588516, KB2617657, and KB890830.

请帮帮我!如果我不能使用我的网站,我几乎就要死了.我也尝试过XAMPP. Apach不想像往常一样加载,所以我将其卸载了.自从发生这种情况以来,我什至已经重新安装了WAMP Server 2次.甚至在每次卸载后都运行CCleaner,因此在我再次安装之前,带有WAMP的所有内容都消失了.

Please, help me! I'm literally dying inside if I can't work with my website. I have tried XAMPP too. Apach didn't wanted to be loaded (as usual) so I uninstalled it. I have even reinstalled WAMP Server 2 times since this happened. Even run CCleaner after each uninstall so everything with WAMP was gone before I installed it again.

谢谢.

推荐答案

在官方wampserver.com论坛中找到的解决方案:

Solution(s) for this, found in the official wampserver.com forums:

此问题是由Windows(7)与也使用端口80的任何软件(例如Skype或IIS(大多数开发人员计算机上已安装))结合使用引起的.可以在此处找到一个视频解决方案(34.500多次观看,该死,这似乎是大事!视频现在有〜60.000观看次数;))

This problem is caused by Windows (7) in combination with any software that also uses port 80 (like Skype or IIS (which is installed on most developer machines)). A video solution can be found here (34.500+ views, damn, this seems to be a big thing ! The video now has ~60.000 views ;) )

简而言之:打开命令行工具,键入"netstat -aon",然后查找任何以":80"结尾的行.请注意,右侧的PID.这是当前使用port 80的软件的进程ID.按 AltGr + Ctrl + Del 进入任务管理器.切换到选项卡,您可以在其中查看按PID排序的当前正在运行的所有服务.搜索您刚刚注意到的PID并停止该操作(右键单击).为了防止将来发生这种情况,您应该配置软件的端口设置(skype可以做到).

To make it short: open command line tool, type "netstat -aon" and look for any lines that end of ":80". Note thatPID on the right side. This is the process id of the software which currently usesport 80. Press AltGr + Ctrl + Del to get into the Taskmanager. Switch to the tab where you can see all services currently running, ordered by PID. Search for that PID you just notices and stop that thing (right click). To prevent this in future, you should config the software's port settings (skype can do that).

左键单击任务栏中的wamp图标,转到apache> httpd.conf并编辑此文件:将"listen to port .... 80"更改为8080.重新开始.完成!

left click the wamp icon in the taskbar, go to apache > httpd.conf and edit this file: change "listen to port .... 80" to 8080. Restart. Done !

端口80被"Microsoft Web部署服务"阻止,只需将其卸载,更多信息

Port 80 blocked by "Microsoft Web Deployment Service", simply deinstall this, more info here

顺便说一下,这不是微软的错,这是大多数WAMP堆栈对端口的愚蠢使用.

By the way, it's not Microsoft's fault, it's a stupid usage of ports by most WAMP stacks.

重要提示:您现在必须在端口8080上使用localhost127.0.0.1,这意味着127.0.0.1:8080localhost:8080.

IMPORTANT: you have to use localhost or 127.0.0.1 now with port 8080, this means 127.0.0.1:8080 or localhost:8080.

这篇关于WAMP服务器未加载本地主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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