# Why it is needed to open TCP, UDP ports, given in rtcMinPort, rtcMaxPort, to make call.

**URL:** <https://mediasoup.discourse.group/t/why-it-is-needed-to-open-tcp-udp-ports-given-in-rtcminport-rtcmaxport-to-make-call/4054>\
**Category:** mediasoup libraries\
**Created:** [March 29, 2022, 8:31am UTC](https://mediasoup.discourse.group/t/why-it-is-needed-to-open-tcp-udp-ports-given-in-rtcminport-rtcmaxport-to-make-call/4054 "2022-03-29T08:31:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![zaidiqbal](https://yyz2.discourse-cdn.com/free1/user_avatar/mediasoup.discourse.group/zaidiqbal/32/1498_2.png) [@zaidiqbal](https://mediasoup.discourse.group/u/zaidiqbal)\
**Post date:** [March 29, 2022, 1:05pm UTC](https://mediasoup.discourse.group/t/why-it-is-needed-to-open-tcp-udp-ports-given-in-rtcminport-rtcmaxport-to-make-call/4054/5 "2022-03-29T13:05:51Z")

</div>

Yes that can be way to go but TURN will cause extra delays which might not be best way to go with for my use case. Was looking for something which is mentioned in this thread:

> [@Use only a single UDP port instead a big port range for media connection](https://mediasoup.discourse.group/t/use-only-a-single-udp-port-instead-a-big-port-range-for-media-connection/3328):
>
> Hello all, I’ve see how some media conferencing systems like Jitsi uses only a single UDP port for RTP traffic from browser to media server. In the [Jitsi deployment instructions](https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart#setup-and-configure-your-firewall) you can see as 10000 UDP port is enough for video/audio communications. Using only one port for UDP can be very useful when deploying a media server in Kubernetes (where exposing a big range of ports [is not practical](https://github.com/kubernetes/enhancements/blob/9ac8e907d884a0565a36ffc1f8331d85698bf7c7/keps/sig-network/2610-allports-services/README.md#summary)) or when using [AWS Global Accelerator](https://aws.amazon.com/global-accelerator/) service with several media servers deployed in an Autoscaling Gro…

---

_[View the full topic](https://mediasoup.discourse.group/t/why-it-is-needed-to-open-tcp-udp-ports-given-in-rtcminport-rtcmaxport-to-make-call/4054)._
