简体   繁体   English

使用xampp作为Web服务器

[英]Using xampp as a web server

I'm currently working on a website on my local machine using xampp, I would like to share a demo of the site to a few people, before i move it into production, but im having issues, firstly i am behind a routers, so what I did is setup port forwarding so that my Wan IP would forward to my machines IP on ports 80 and 443, But others still get timeout issues, is there any suggestions, if it helps any I'm am running an older Belkin wireless router, 我目前正在使用xampp在本地计算机上的网站上工作,我想将这个站点的演示文稿分享给几个人,然后再将其投入生产,但是我遇到了问题,首先我在路由器后面,所以我所做的是设置端口转发,以便我的Wan IP可以转发到端口80和443上的机器IP,但是其他仍然存在超时问题,是否有任何建议,如果有帮助的话,我正在运行旧的Belkin无线路由器,

Firmware Version    9.01.07
Boot Version    0.01
Hardware    01
Serial No.  BE701195946

are there other win7/router/xmapp settings i could have missed? 还有其他我可能会错过的win7 / router / xmapp设置吗?

Thanks for any suggestions. 感谢您的任何建议。

It is probably not a matter of router settings if some get timeouts and others do not. 如果有些超时,而有些超时,则可能与路由器设置无关。 Rather, your upstream bandwidth might simply be too narrow to accept a lot of web traffic if you are attempting this on a residential ISP connection. 相反,如果您在住宅ISP连接上尝试上行带宽,则上行带宽可能太窄而无法接受大量Web流量。 Remember, download for your HTTP visitors means upload for your router and cable/dsl modem. 请记住,为您的HTTP访问者下载意味着为您的路由器和电缆/ DSL调制解调器上传。

If I misunderstand, and everyone is timing out, then you may not have ports 80 & 443 opened up in the Windows firewall. 如果我误会了,并且每个人都在超时,那么您可能没有在Windows防火墙中打开端口80和443。

Do you have a firewall? 你有防火墙吗? It might be blocking. 它可能会阻塞。 Many routers have firewall nowadays... 如今,许多路由器都有防火墙。

Also did you check your router logs? 您还检查了路由器日志吗? Your web server must have a log too somewhere... 您的Web服务器的某处也必须有日志...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM