To explore Flashcom's HTTP tunneling again

Source: Internet
Author: User
I used to have an article about HTTP tunneling, recently in their own server combat, found a problem, because the port 80 to Apache, is not for the Web server and flashcom is the same machine, can not implement HTTP tunneling? Search flashcom Help, about the HTTP tunneling description is very few and die Hu unclear, so directly to see <flashcom>/conf/_defaultroot_/adaptor.xml about the HTTP port set up part of the interpretation, Instead found flashcom can bind to multiple IP Port, this is not solve the Web server and flashcom is the same machine, Port 80 to occupy the problem.
So immediately try to add a new IP for the server (for example: 123.45.6.78), in <HostPort> settings:
<HostPort>123.45.6.78:1935,80</HostPort> after connecting to flashcom,rtmp path to it, support HTTP Tunneling (You can set a sub-domain to represent this new IP, always remember that the name is easier than the number). In order to already exist flashcom applications do not have to modify the rtmp path and compile, such as trouble, the original listening settings should be retained (for example, ip:123.45.6.77), so add a <HostPort> node:
<HostPort>123.45.6.77:1935</HostPort>
Final results:
<HostPortList>
<HostPort>123.45.6.78:1935,80</HostPort>
<HostPort>123.45.6.77:1935</HostPort>
</HostPortList>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.