Skip navigation
Home/Support/

Forums

2400 Views 16 Replies Latest reply: Mar 2, 2010 11:46 AM by Michael Thornburgh RSS
satheeshpallath12 User 63 posts since
Feb 4, 2010
Currently Being Moderated

Feb 23, 2010 3:29 AM

PORT NUMBER of RTMFP?

Hai,

 

 

My firewall is blocking UDP so can anyone tell me which port i have to enable to allow UDP.I'm using RTMFP protocol...


Itz an urgent....

  • Vivek Lakhanpal Calculating status... 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    1. Feb 23, 2010 3:44 AM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    try opening

     

    UDP 10000-10100 and UDP 1935

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    2. Feb 23, 2010 12:46 PM (in response to Vivek Lakhanpal)
    Re: PORT NUMBER of RTMFP?

    opening those ports may allow you to talk to Stratus in its current configuration, but P2P connections will almost certainly not work.  you really need to allow all UDP >1023, or at least "outbound UDP".

  • Vivek Lakhanpal User 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    3. Feb 23, 2010 9:08 PM (in response to Michael Thornburgh)
    Re: PORT NUMBER of RTMFP?

    Thanks for sharing this information Michael, Actually we faced this p2p

    connection problem a year back when we were working on initial Stratus lab

    release and then we tried opening these ports and it worked for us.

     

    "you really need to allow all UDP >1023, or at least "outbound UDP". - Does

    that means every networked environment has to open these ports for

    successful p2p connection?

     

    Actually i am not clear what do you meant by "allow you to talk to Stratus

    in its current configuration, but P2P connections will almost certainly not

    work" can we talk on stratus without connecting to p2p?

     

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    4. Feb 23, 2010 9:54 PM (in response to Vivek Lakhanpal)
    Re: PORT NUMBER of RTMFP?

    "Stratus" is the RTMFP hosted server you connect to when you make a connection.  it is the "stratus.adobe.com" in "rtmfp://stratus.adobe.com/".  this service translates peerIDs to network addresses so that Flash Player and AIR applications can communicate directly with each other over the Internet using RTMFP.

     

    i mean "current configuration" because only UDP port 1935 is fixed for RTMFP.  the other ports used by Stratus (10000 -> 10100) are an artifact of the structure of the service and the ports we've configured the components to use.  we could change them at any time.

  • Vivek Lakhanpal User 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    5. Feb 23, 2010 10:58 PM (in response to Michael Thornburgh)
    Re: PORT NUMBER of RTMFP?

    "i mean "current configuration" because only UDP port 1935 is fixed for

    RTMFP."

    So that means if I only have UDP port 1935 open for inbound/outbound i shall

    be able to successfully connect to p2p and have stratus working in future.

     

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    6. Feb 23, 2010 11:04 PM (in response to Vivek Lakhanpal)
    Re: PORT NUMBER of RTMFP?

    no, if you *only* allow port 1935, you won't even connect to Stratus, as it uses other ports as well.  currently, those ports are 10000+ but that is just how we've configured it.  there's nothing intrinsically special about those port numbers.

     

    peers (Flash Players and AIR) use random UDP ports in the range 1024..65535.  P2P connections are directly between one peer and another, so it must be possible to send UDP packets from and to any combination of ports in that range.

  • Vivek Lakhanpal User 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    7. Feb 23, 2010 11:39 PM (in response to Michael Thornburgh)
    Re: PORT NUMBER of RTMFP?

    Thanks again for the information Michael,

     

    "peers (Flash Players and AIR) use random UDP ports in the range

    1024..65535.  P2P connections are directly between one peer and another, so

    it must be possible to send UDP packets from and to any combination of ports

    in that range."

     

     

    I was just wondering that can be one of the reason that during testing last

    time we got one of our colleague testing from home and he was not able to

    talk to us in office even though his p2p connection status was true. Whereas

    I was able to talk to him from my home.

     

    Now the question here is that as i was reading this article

    http://www.adobe.com/devnet/flashmediaserver/articles/p2p_rtmfp_groups _print.html.

    there i see this line "Another benefit to using the Stratus service is that

    it has the ability to assist with UDP hole punching enabling the P2P mesh to

    traverse many NATs and firewalls."   Do i ask any networked environment like

    ours to open all UDP ports rage 1024-65535 for outbound or inbound traffic

    for successful p2p working? or Status can do it on it's own if it's just

    able to connect to stratus only.

     

    I might be confusing myself here a bit because of my limited knowledge of

    networking. But I just wanted to clear the things just in case I have to

    suggest someone to jump in for p2p solution he should know the problem

    barrier for it to work properly.

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Vivek Lakhanpal User 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    9. Feb 24, 2010 12:05 AM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    Yes what i have figured out so far is that you have to enabled UDP ports

    higher then 10000 to successfully connect to Stratus service.

     

    for p2p communication as Flash players use random UDP ports in the range

    1024..65535 so if you have some UDP ports in that range open that should be

    suffice to get you going. (Michael can comment accurately on that part).

     

     

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    11. Feb 24, 2010 11:15 PM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    UDP port 1935 and ports 10000+ are used by the Stratus servers.  the UDP ports used on client computers could be any port from 1024..65535.

     

    in order to just connect to the Stratus servers, you must be able to send and receive UDP packets with any UDP port on your client computer (source port for outgoing, destination port for incoming) and port 1935 and ports 10000+ on the Stratus server computers (destination port for outgoing, source port for incoming).

     

    *just* connecting to Stratus isn't useful, though, since all it can do is help you to connect directly to other clients running Flash Player or AIR.  other client computers, just like your client computer, will be using a random UDP port in the range 1024..65535.  therefore, in order to communicate P2P with other client computers using RTMFP, you must do one of the two following things:

     

       1) allow all UDP with a source or destination port from 1024..65535.

     

       2) have a "stateful firewall" that allows bidirectional UDP connections to and from any UDP ports in the range 1024 through 65535 inclusive as long as a first packet is sent outbound through the firewall.  this is commonly called "allowing outbound UDP".  sending the first packet outbound through your firewall to allow return packets is commonly called "UDP hole punching".  searching on these terms should give you more information.

     

    in general, a firewall that blocks UDP will block RTMFP communication.

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    13. Feb 25, 2010 1:33 AM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    no.

  • Vivek Lakhanpal User 30 posts since
    Apr 29, 2009
    Currently Being Moderated
    15. Mar 2, 2010 4:28 AM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    I think Michael has replied to this query above:

     

    "no, if you only allow port 1935, you won't even connect to Stratus, as it

    uses other ports as well.  currently, those ports are 10000+ but that is

    just how we've configured it.  there's nothing intrinsically special about

    those port numbers.

     

    peers (Flash Players and AIR) use random UDP ports in the range

    1024..65535.  P2P connections are directly between one peer and another, so

    it must be possible to send UDP packets from and to any combination of ports

    in that range.

    "

    only 1935 won't do you need some ports above 10000 open for UDP.

     

     

     

    Thanks & Regards,

    Vivek Lakhanpal.

    Phone: +91-987-608-2125

    Skype: lakhanpalv

    http://viveklakhanpal.wordpress.com

    http://viveklakhanpal.spaces.live.com

  • Michael Thornburgh Adobe Employee 646 posts since
    Jul 4, 2008
    Currently Being Moderated
    16. Mar 2, 2010 11:46 AM (in response to satheeshpallath12)
    Re: PORT NUMBER of RTMFP?

    i'm sure i've answered this multiple times already.  i hope this is clear:

     

    in order to connect to Stratus and to make P2P connections to other clients, you MUST allow all UDP ports > 1023.  if you restrict UDP ports, you may no longer connect to Stratus, and you probably won't connect to other clients.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points