Skip to content

Port Range Docker #1869

Answered by at-wat
patrickcorrigan asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @patrickcorrigan!
By default, pion/webrtc uses full range of ephemeral ports.
(typical default ranges of the OSes: https://en.wikipedia.org/wiki/Ephemeral_port#Range)
The range can be configured via SettingEngine:

webrtc/settingengine.go

Lines 21 to 24 in d1839c7

ephemeralUDP struct {
PortMin uint16
PortMax uint16
}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sean-Der
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1868 on July 05, 2021 13:29.