远程 Xampp 访问 [英] Remote Xampp Access
本文介绍了远程 Xampp 访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了 XAMPP 1.7.4,现在我的项目 URL 是
i have installed XAMPP 1.7.4, now my project URL is
我的IP是192.168.0.40
and my IP is 192.168.0.40
我想将我的 XAMPP 项目访问到另一台计算机,我该怎么做
i want to access my XAMPP Project to Another Computer how i do that
推荐答案
- 将 Web 服务器配置为侦听外部网络接口(Apache 通常配置为默认仅侦听 localhost).
- 在您计算机的防火墙中为入站连接打开端口 80.
- 如果您希望局域网外的人访问您的服务器,请在您的路由器/网关中启用端口转发,以便端口 80 被转发到您的计算机.
- 如果您在网络中使用 DHCP,请将您的 DHCP 服务器配置为每次都为您的计算机提供相同的地址(例如,通过 MAC 地址).
- Configure the web server to listen on your external network interface (Apache is often configured to only listen on localhost by default).
- Open port 80 for inbound connections in the firewall on your computer.
- If you want people outside your LAN to access your server, enable port forwarding in your router/gateway, so that port 80 is forwarded to your computer.
- If you use DHCP in your network, configure your DHCP server to give your computer the same address every time (for example, by MAC address).
这篇关于远程 Xampp 访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文