如何使用我的公共 IP 地址公开我的 xampp 服务器?
我刚刚安装了 xampp 1.7.7.我需要知道我需要做什么才能使用我的公共 IP 地址(不是 192.168.xxx.xxx)公开我的网站此外,我在路由器后面(NETGEAR WPN824v3).我确实有一个动态 IP 地址,但我已通过路由器保留了该 IP.我的操作系统是 Windows 7 Professional x64.
I have just installed xampp 1.7.7. I need to know what I need to do in order to make my website public using my public IP address (not 192.168.xxx.xxx) Also, I am behind a router (NETGEAR WPN824v3). I do have a dynamic IP address, but I have reserved the IP via my router. My operating system is Windows 7 Professional x64.
- 我需要端口转发吗?--> 如果是这样,服务器IP是什么(除了192.168.xxx(不能更改).xxx(需要手动输入)之外不让我选择任何东西)?什么是起始端口和结束端口?
- 我还需要进行哪些更改才能在不使用以下内容的情况下公开我的网站:127.0.0.1、192.168.xxx.xxx、本地主机等......
- 如何配置域名(来自 DOT TK)?
请给我一份详细的分步说明清单,请不要让我访问其他网站!
Please give me a step-by-step detailed list of instructions on how to do this and don't refer me to other websites please!
问:这听起来像是家庭网络,对吗?
Q: This sounds like a home network, correct?
问:你们有注册域名吗?或者您希望人们通过 IP 地址访问您的网站?
Q: Do you have a registered domain? Or do you want people to access your site by IP address?
您的内部 LAN 地址是 192.168...
Your internal, LAN address is 192.168...
您可以通过查看您的路由器(可能是 Netgear,也可能是另一台路由器 - DSL 或电缆调制解调器内置的路由器)来找到您的外部(WAN")地址.
You can find your external ("WAN") address by looking at your router (which may be the Netgear, or might be yet another router - the one built in to your DSL or cable modem).
您也可以通过将浏览器指向此处来找到它:
You can also find it by pointing your browser here:
请注意,除非您拥有来自提供商的静态 IP",否则此外部地址可能会随时更改.它可能会保持数月不变......或者它可能会更改多次/天.这取决于".
Be advised that, unless you have a "static IP" from your provider, this external address might change at any time. It might stay the same for months ... or it might change multiple times/day. "It depends".
也请注意,当您在防火墙上打开任何东西 - 特别是一个网站时,您会离开自己可能容易受到黑客攻击.您绝对需要确保您有足够的安全措施来防止这种情况发生.
Be advised, too, that the moment you open anything on your firewall - especially a web site - you leave yourself potentially vulnerable to hackers. You absolutely need to make sure you have adequate security in place to protect against this eventuality.
建议:查看 DynDNS(或替代方案):
Suggestion: look at DynDNS (or alternatives):
或者只是货比三家,寻找吸引您的网络托管服务:)
Or just shop around for a web hosting service that appeals to you :)