Port Range Docker #1869
Answered
by
at-wat
patrickcorrigan
asked this question in
Q&A
Port Range Docker
#1869
-
Hi, I'm running pion in a docker container and I'm just wondering what ports I need to expose. Is there a port range? |
Beta Was this translation helpful? Give feedback.
Answered by
at-wat
Jul 5, 2021
Replies: 1 comment
-
Hi @patrickcorrigan! Lines 21 to 24 in d1839c7 |
Beta Was this translation helpful? Give feedback.
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
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