如何将端口 80 转发到 Flash Media Server 和 IIS?
FMS 和 IIS 在同一服务器上设置不同的 IP。两者都配置为端口 80,因为其他端口(包括 1935)通常无法从某些环境访问。
问题是,服务器位于路由器后面。 80端口只能转发到FMS的IP或IIS的IP。
即使两者在不同的机器上,我仍然必须处理这个问题。我该怎么办?
FMS and IIS are set up with separate IPs on the same server. Both are configured for port 80 because others, including 1935, are often inaccessible from certain environments.
Problem is, the server's behind a router. Port 80 can only be forwarded to either the IP of FMS or that of IIS.
Even if the two were on separate machines, I'd still have to deal with this. What do I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果路由器有外部 IP 地址,您可以这样做。
如果路由器只有一个外部 IP 地址,则您将需要使用两个不同的外部端口,因为两个设备无法侦听同一端口。
例如:
外部:81 -> FMS:80
(External:80 -> IIS:80 和 FMS:80 是不可能的)
如果您有两个外部 IP地址(以及支持该地址的路由器),您可以这样做:
If the router has to external IP addresses you could do this.
If the router only has one external IP address, you will need to use two different external ports, as two things can't listen on the same port.
eg:
External:81 -> FMS:80
(External:80 -> IIS:80 and FMS:80 is impossible)
If you had two external IP addresses (and a router that supported that), you could do: