PHP服务器ERR_CONNECTION_REFUSED [英] php server ERR_CONNECTION_REFUSED

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

问题描述

我不能让我的本地计算机上的PHP的服务器运行。我trye​​d与wampserver和简易PHP。我检查了我的端口的使用情况:80 ,从我改了口 80 :8080 ,我给了Apache和MySQL上的防火墙设置所需的权限...我做的​​一切,但是当键入的http://本地主机使用或不使用的端口号浏览器的回答总是一样的:

I can't make a php server run on my local computer. I tryed with wampserver and Easy PHP. I checked the usage of my port:80, I changed the port from :80 to :8080, I gave Apache and mysql the permissions required on the firewall settings... I did everything, but when a type http://localhost with or without the port number browser answer is always the same:

ERR_CONNECTION_REFUSED

ERR_CONNECTION_REFUSED

你能帮助我,好吗?

推荐答案

虽然我觉得这个问题是题外话,我会尽量回答。

While I think this questions is off-topic, I will try to answer it.

我曾与Skype和WAMP运行在同一时间的问题。如果你有Skype打开,关闭它,WAMP,再打开刚才WAMP。有Skype的设置使用的备用端口。它已经覆盖了上千次在互联网上。

I have had problems with Skype and WAMP running at the same time. If you have Skype open, close it and WAMP, then open just WAMP. There is a setting in skype to use an alternate port. It has been covered thousands of times all over the internet.

你能想到的Zone Alarm或任何其他基于软件的防火墙..关闭一切,禁用Windows防火墙,请暂时禁用您的AV,如果它有一个内置的防火墙。我不是说你的 的应无保护运行,但你需要确定是什么原因造成的烦恼。至于硬件防火墙,我有一个Linksys无线路由器(内置的防火墙),我从来没有做任何事情来得到WAMP它背后工作。

Close everything you can think of.. Zone Alarm or any other software based firewall, disable Windows firewall, temporarily disable your AV if it has a built in firewall. I am not saying you should run without protection, but you need to identify what is causing the troubles. As far as hardware firewalls, I have a Linksys wireless router (built in firewall) and I have never had to do anything to get WAMP to work behind it.

如果您已与吨在你的WAMP的设置弄乱,然后只需将其卸载,然后重新安装。你并不需要将端口更改为8080得到它的工作,而且这样做会要求你总是有:8080在您的网址(除非你有它侦听两者)

If you have been messing with tons of settings in your WAMP, then just uninstall it and re-install it. You don't need to change your port to 8080 to get it working, and doing so would require you to always include :8080 in your URL (unless you have it listen on both).

通过股票WAMP,你能想到的,关闭或禁用的一切,再试一次。

With a stock WAMP, and everything you can think of closed or disabled, try again.

在WAMP的图标应为绿色。点击它,并进入Apache和MySQL的。他们有一个服务子菜单,在这里你可以启动/停止/重新启动该服务。开始应该灰色,停止和重新启动应该可用。如果你看到没有开始他们中的一个,尝试点击启动服务。如果仍然无法启动,然后点击安装服务。等一下。然后点击启动服务。

The WAMP icon should be green. Click on it, and go into both Apache and MySQL. They have a "services" sub-menu, where you can start/stop/restart the service. Start should be greyed out, and stop and restart should be available. If you see one of them not started, try clicking "start service". If it still won't start, then click "Install Service". Wait a minute. Then click "Start Service".

由于某些原因,当我刚刚安装WAMP,我要对他们中的一个手动安装服务。我不记得是哪一个。有一次,我安装该服务,则它会奏效。您可能需要再次点击WAMP的图标,并选择重新启动所有服务。然后进入Apache和MySQL菜单,并确保服务正在启动。

For some reason, when I freshly install WAMP, I have to manually install the service on one of them. I don't recall which one. Once I install the service, it then will work. You might have to click the WAMP icon again, and select "Restart All Services". Then go into the Apache and MySQL menus and make sure the services are started.

这篇关于PHP服务器ERR_CONNECTION_REFUSED的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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