Skip to main content
Participant
August 14, 2010
Question

Firewalls prevent Flash Streaming so Progressive is better?

  • August 14, 2010
  • 1 reply
  • 18460 views

I have been using streaming Flash video but just found out that it can’t be seen in many places because Flash streams over ports 1935, 443, and 80, which are often closed by firewall. Progressive only needs port 443 so it’s more likely that it will come through firewall. What’s your experience and opinion concerning this?

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    August 14, 2010

    Flash media server works upon following protocols

    rtmp - pure rtmp message default port is 1935

    rtmpt - 80, this protocol is Rtmp tunneled over Http default port is 80

    rtmps - 443, this protocol is Rtmp tunneled over SSL (SSL used for secure communication over TCP/IP) default port is 443

    by default this is the configuration. So, as per your use case you may use rtmps and work.

    Also, i suggest you to kindly go through the tech_overview pdf located @ /documentation/

    Participant
    August 14, 2010

    Hi Flashing Mathur. - I must confess that I don´t understand the answer. Do you mean that by using only progressive download, I only have to access the useres rtmps - 443, but by streaming I also have to use the other ports? I understand that port 1935 is used for auto-detecting the users bandwith used both for progressive and streaming. Can the settings in the Flash Media Server be changed so streaming only have to use 443? Is it a very common problem that streaming video can not be seen because of firewalls? - Best regards, Kristjan 

    Adobe Employee
    August 16, 2010

    Hey Kristjan,

    Progressive download is over HTTP and streaming happens over rtmp. I think that you want to stream content over rtmp using the Flash Media Server.

    Also, when rtmp request comes to flash media server rtmp://Server Name/application name/instance name) the request initially goes to port 1935 if the connection is not established then rtmp has fallback mechanism where it does port scanning and searches for the next available port where rtmp communication can be done with the media server and then it looks for port 80 and then looks for port 443 if the server listens at any of them then the request is handled. But, for this failover mechanism to work the Flash Media server should be configured acordingly

    1. Got to the (fms root directory)\conf folder

    2. Go to file fms.ini file

    3. Go to ADAPTOR.HOSTPORT = :1935,80,443 (enter the following values)

    4. Restart the services

    4. Then requesting client should request in the following fashion - rtmp://Server Name:443/application name/instance name. Since you want communication only port 443.

    5. The request may be in this fashion rtmp://Server Name/application name/instance name. But the response time of this will be greater with respect to the request in point 4.

    Also go through this thread http://forums.adobe.com/thread/647821 for the understanding of rtmp failover mechansim

    Also, About port 443 it is used for SSL(RTMPS) when you specify -443 in Adaptor.hostport and to use 443 for RTMP you specify 443(without - sign) and also specify the port while making the request.

    Lastly, I would like to know since port 80 is default port for serving HTTP request and most servers allow firewall exceptions to it. Is there any special reason that you are not allowing access to it.

    Thanks

    With Regards

    Gaurang Mathur