locked
Strange ports for peer-to-peer connection RRS feed

  • Question

  • Hello everybody, I read documentation regarding need of opening different ports on firewall to allow S4B calls. As I understand, after initial Invite exchange with candidate list of peers, everybody choose suitable candidate (lets say 1st one - local interface) and then tries to establish peer-to-peer connection between local interfaces on port in range 50000-59999. The problem is, in my case, this connection is established on random port even out of the range 50000-59999. For example, 13462, 63792 and so on. The question is, what is wrong? I cannot open all ports between two different sites of company... Thanks for your advices 
    Tuesday, November 8, 2016 3:31 PM

Answers

  • Hi

    P2P media will use any port from 1024 to 65535 on P2P audio / video out of the box.

    However you can set the client port ranges for audio and video using Set-CsConferencingConfiguration commandlet

    https://technet.microsoft.com/en-us/library/jj204760%28v=ocs.15%29.aspx?f=255&MSPPError=-2147217396

    Please note, that source port will always be ephemeral, but the destination will be within the range you set.

    thanks 


    Note: Please remember to `Mark as Answered` a post that answers your question and/or `Vote as Helpful` posts that have helped you. This will help others find answers to similar problems. For more Skype for Business help visit: http://www.skype4b.uk Please note that answers are based on my experience and opinion only and do not necessarily represent the views of my employer.

    • Proposed as answer by jim-xu Wednesday, November 9, 2016 6:59 AM
    • Marked as answer by jurajKM Tuesday, November 15, 2016 2:27 PM
    Tuesday, November 8, 2016 4:58 PM

All replies

  • Hi

    P2P media will use any port from 1024 to 65535 on P2P audio / video out of the box.

    However you can set the client port ranges for audio and video using Set-CsConferencingConfiguration commandlet

    https://technet.microsoft.com/en-us/library/jj204760%28v=ocs.15%29.aspx?f=255&MSPPError=-2147217396

    Please note, that source port will always be ephemeral, but the destination will be within the range you set.

    thanks 


    Note: Please remember to `Mark as Answered` a post that answers your question and/or `Vote as Helpful` posts that have helped you. This will help others find answers to similar problems. For more Skype for Business help visit: http://www.skype4b.uk Please note that answers are based on my experience and opinion only and do not necessarily represent the views of my employer.

    • Proposed as answer by jim-xu Wednesday, November 9, 2016 6:59 AM
    • Marked as answer by jurajKM Tuesday, November 15, 2016 2:27 PM
    Tuesday, November 8, 2016 4:58 PM
  • Hi jurajKM,

    Welcome to our forum.

    In addition to above suggestions, port 50000-59999 is used for A/V Edge service, please refer to the following link:
    https://technet.microsoft.com/en-us/library/mt346415.aspx 

    If there are any questions or issues, please be free to let me know.


    Best Regards,
    Jim Xu
    TechNet Community Support


    Please remember to mark the replies as answers if they helped.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.
    • Edited by jim-xu Wednesday, November 9, 2016 7:08 AM
    • Proposed as answer by Liinus Wednesday, November 9, 2016 11:53 AM
    Wednesday, November 9, 2016 7:08 AM
  • Agree with others, the different ports that you see would be the ephemeral ports thats from your machine , thats perfectly ok unless you have any restriction from the client side 


    Linus || Please mark posts as answers/helpful if it answers your question.

    Wednesday, November 9, 2016 11:54 AM