不能在本地网络上访问WAMP服务器 [英] Cannot access wamp server on local network
问题描述
我想举办一个网站,我的本地网络上。出于某种原因,我只能在我的本地计算机上访问WAMP。
我有我的网络中的2台电脑。无论计算机A和B计算机安装WAMP的服务器。当我键入从计算机B计算机A的IP地址,我可以连接到它。但是,当我做到这反过来它不工作!换句话说,当我键入计算机B的IP地址,从计算机A浏览器云:服务器在192.168.0.120正在长回应
。(记得我想连接到计算机,从一台计算机B)这是我为了解决在计算机B上的问题做的事情
1)关闭防火墙
2)WAMP卸载并重新安装。
3)关闭杀毒。
4)关闭Windows防火墙
5)在网上下WAMP,并把它后重新启动在线的所有服务
做所有这些步骤后,我仍然无法从计算机B连接到它!
我没有任何chaged ini文件加上我已经卸载并重新安装它,为什么它不能连接到它!?我已经使用WAMP为近3年来,我从来没有经历过这一点。
另外WAMP的是,我已经安装在此计算机上的唯一Web服务器。我没有IIS也没有安装在我的计算机上的任何其他Web服务器。
也许你的Apache是只界定为localhost。看在你的Apache配置文件:
收听127.0.0.1:80
如果你发现它,取代它的:
收听80
I want to host a website on my local network. For some reason I can only access wamp in my local computer.
I have 2 computers in my network. Both computer A and computer B have wamp server installed. when I type the ip address of computer A from computer B I am able to connect to it. But when I do it the other way around it does not work! In other words when I type the ip address of computer B from computer A the browsers says: server at 192.168.0.120 is taking to long to respond.
Things that I have done in order to solve the problem on computer B: (remember I want to connect to computer B from computer A)
1) turn off the firewall
2) Uninstall wamp and reinstall it.
3) turn off the anti-virus.
4) turn off windows firewall
5) Place wamp online and after putting it online restart all services
after doing all those steps I still cannot connect to it from computer B!
I have not chaged any ini file plus I have uninstall it and install it again so why is it not possible to connect to it!? I have used wamp for the last 3 years and I have never experienced this.
Also wamp is the only web server that I have installed on this computer. I don't have IIS nor any other web server installed on my computer.
Perhaps your Apache is bounded to localhost only. Look in your apache configuration file for:
Listen 127.0.0.1:80
If you found it, replace it for:
Listen 80
(More info about Apache Binding)
这篇关于不能在本地网络上访问WAMP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!